Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/kernel_compat_cuda.h
| Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | |||||
| #define ccl_static_constant __constant__ | #define ccl_static_constant __constant__ | ||||
| #define ccl_constant const | #define ccl_constant const | ||||
| #define ccl_local __shared__ | #define ccl_local __shared__ | ||||
| #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_restrict __restrict__ | #define ccl_restrict __restrict__ | ||||
| #define ccl_loop_no_unroll | |||||
| /* TODO(sergey): In theory we might use references with CUDA, however | /* TODO(sergey): In theory we might use references with CUDA, however | ||||
| * performance impact yet to be investigated. | * performance impact yet to be investigated. | ||||
| */ | */ | ||||
| #define ccl_ref | #define ccl_ref | ||||
| #define ccl_align(n) __align__(n) | #define ccl_align(n) __align__(n) | ||||
| #define ccl_optional_struct_init | #define ccl_optional_struct_init | ||||
| #define ATTR_FALLTHROUGH | #define ATTR_FALLTHROUGH | ||||
| ▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines | |||||