|
Blender
V2.93
|
#include <cassert>Go to the source code of this file.
Macros | |
| #define | ccl_device static inline |
| #define | ccl_device_noinline static |
| #define | ccl_device_noinline_cpu ccl_device_noinline |
| #define | ccl_global |
| #define | ccl_static_constant static const |
| #define | ccl_constant const |
| #define | ccl_local |
| #define | ccl_local_param |
| #define | ccl_private |
| #define | ccl_restrict __restrict |
| #define | ccl_ref & |
| #define | ccl_optional_struct_init |
| #define | ccl_loop_no_unroll |
| #define | __KERNEL_WITH_SSE_ALIGN__ |
| #define | ccl_device_inline static inline __attribute__((always_inline)) |
| #define | ccl_device_forceinline static inline __attribute__((always_inline)) |
| #define | ccl_align(...) __attribute__((aligned(__VA_ARGS__))) |
| #define | __forceinline inline __attribute__((always_inline)) |
| #define | ccl_try_align(...) __attribute__((aligned(__VA_ARGS__))) |
| #define | ccl_may_alias __attribute__((__may_alias__)) |
| #define | ccl_always_inline __attribute__((always_inline)) |
| #define | ccl_never_inline __attribute__((noinline)) |
| #define | ccl_maybe_unused __attribute__((used)) |
| #define | ATTR_FALLTHROUGH ((void)0) |
| #define | LIKELY(x) (x) |
| #define | UNLIKELY(x) (x) |
| #define | CHECK_TYPE(var, type) |
| #define | CHECK_TYPE_PAIR(var_a, var_b) |
| #define | CHECK_TYPE_INLINE(val, type) ((void)(((type)0) != (val))) |
| #define | util_assert(statement) assert(statement) |
| #define __forceinline inline __attribute__((always_inline)) |
Definition at line 71 of file util_defines.h.
| #define __KERNEL_WITH_SSE_ALIGN__ |
Definition at line 49 of file util_defines.h.
| #define ATTR_FALLTHROUGH ((void)0) |
Definition at line 85 of file util_defines.h.
| #define ccl_align | ( | ... | ) | __attribute__((aligned(__VA_ARGS__))) |
Definition at line 69 of file util_defines.h.
| #define ccl_always_inline __attribute__((always_inline)) |
Definition at line 75 of file util_defines.h.
| #define ccl_constant const |
Definition at line 41 of file util_defines.h.
| #define ccl_device static inline |
Definition at line 36 of file util_defines.h.
| #define ccl_device_forceinline static inline __attribute__((always_inline)) |
Definition at line 68 of file util_defines.h.
| #define ccl_device_inline static inline __attribute__((always_inline)) |
Definition at line 67 of file util_defines.h.
| #define ccl_device_noinline static |
Definition at line 37 of file util_defines.h.
| #define ccl_device_noinline_cpu ccl_device_noinline |
Definition at line 38 of file util_defines.h.
| #define ccl_global |
Definition at line 39 of file util_defines.h.
| #define ccl_local |
Definition at line 42 of file util_defines.h.
| #define ccl_local_param |
Definition at line 43 of file util_defines.h.
| #define ccl_loop_no_unroll |
Definition at line 48 of file util_defines.h.
| #define ccl_may_alias __attribute__((__may_alias__)) |
Definition at line 74 of file util_defines.h.
| #define ccl_maybe_unused __attribute__((used)) |
Definition at line 77 of file util_defines.h.
| #define ccl_never_inline __attribute__((noinline)) |
Definition at line 76 of file util_defines.h.
| #define ccl_optional_struct_init |
Definition at line 47 of file util_defines.h.
| #define ccl_private |
Definition at line 44 of file util_defines.h.
| #define ccl_ref & |
Definition at line 46 of file util_defines.h.
| #define ccl_restrict __restrict |
Definition at line 45 of file util_defines.h.
| #define ccl_static_constant static const |
Definition at line 40 of file util_defines.h.
| #define ccl_try_align | ( | ... | ) | __attribute__((aligned(__VA_ARGS__))) |
Definition at line 73 of file util_defines.h.
| #define CHECK_TYPE | ( | var, | |
| type | |||
| ) |
Definition at line 134 of file util_defines.h.
Definition at line 139 of file util_defines.h.
| #define CHECK_TYPE_PAIR | ( | var_a, | |
| var_b | |||
| ) |
Definition at line 135 of file util_defines.h.
Definition at line 97 of file util_defines.h.
Definition at line 98 of file util_defines.h.
| #define util_assert | ( | statement | ) | assert(statement) |
Definition at line 143 of file util_defines.h.