Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/util/defines.h
| Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | |||||
| # define ccl_try_align(...) __attribute__((aligned(__VA_ARGS__))) | # define ccl_try_align(...) __attribute__((aligned(__VA_ARGS__))) | ||||
| # define ccl_may_alias __attribute__((__may_alias__)) | # define ccl_may_alias __attribute__((__may_alias__)) | ||||
| # define ccl_always_inline __attribute__((always_inline)) | # define ccl_always_inline __attribute__((always_inline)) | ||||
| # define ccl_never_inline __attribute__((noinline)) | # define ccl_never_inline __attribute__((noinline)) | ||||
| # endif /* _WIN32 && !FREE_WINDOWS */ | # endif /* _WIN32 && !FREE_WINDOWS */ | ||||
| /* Address spaces for GPU. */ | /* Address spaces for GPU. */ | ||||
| # define ccl_global | # define ccl_global | ||||
| # define ccl_static_constant static const | # define ccl_inline_constant inline constexpr | ||||
| # define ccl_constant const | # define ccl_constant const | ||||
| # define ccl_private | # define ccl_private | ||||
| # define ccl_restrict __restrict | # define ccl_restrict __restrict | ||||
| # define ccl_optional_struct_init | # define ccl_optional_struct_init | ||||
| # define ccl_loop_no_unroll | # define ccl_loop_no_unroll | ||||
| # define ccl_attr_maybe_unused [[maybe_unused]] | # define ccl_attr_maybe_unused [[maybe_unused]] | ||||
| # define __KERNEL_WITH_SSE_ALIGN__ | # define __KERNEL_WITH_SSE_ALIGN__ | ||||
| ▲ Show 20 Lines • Show All 70 Lines • Show Last 20 Lines | |||||