22 #ifndef __UTIL_STATIC_ASSERT_H__
23 #define __UTIL_STATIC_ASSERT_H__
27 #if defined(__KERNEL_OPENCL__) || defined(CYCLES_CUBIN_CC)
28 # define static_assert(statement, message)
31 #define static_assert_align(st, align) \
32 static_assert((sizeof(st) % (align) == 0), "Structure must be strictly aligned")
#define CCL_NAMESPACE_END