Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/kernel_compat_optix.h
| Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | |||||
| #define ccl_global | #define ccl_global | ||||
| #define ccl_static_constant __constant__ | #define ccl_static_constant __constant__ | ||||
| #define ccl_constant const | #define ccl_constant const | ||||
| #define ccl_local | #define ccl_local | ||||
| #define ccl_local_param | #define ccl_local_param | ||||
| #define ccl_private | #define ccl_private | ||||
| #define ccl_may_alias | #define ccl_may_alias | ||||
| #define ccl_addr_space | #define ccl_addr_space | ||||
| #define ccl_loop_no_unroll | |||||
| #define ccl_restrict __restrict__ | #define ccl_restrict __restrict__ | ||||
| #define ccl_ref | #define ccl_ref | ||||
| #define ccl_align(n) __align__(n) | #define ccl_align(n) __align__(n) | ||||
| // Zero initialize structs to help the compiler figure out scoping | // Zero initialize structs to help the compiler figure out scoping | ||||
| #define ccl_optional_struct_init = {} | #define ccl_optional_struct_init = {} | ||||
| #define kernel_data __params.data // See kernel_globals.h | #define kernel_data __params.data // See kernel_globals.h | ||||
| Show All 11 Lines | |||||