Blender
V3.3
|
Go to the source code of this file.
Typedefs | |
typedef unsigned long long | CUtexObject |
typedef CUtexObject | ccl_gpu_tex_object_2D |
typedef CUtexObject | ccl_gpu_tex_object_3D |
typedef unsigned short | half |
Functions | |
template<typename T > | |
ccl_device_forceinline T | ccl_gpu_tex_object_read_2D (const ccl_gpu_tex_object_2D texobj, const float x, const float y) |
template<typename T > | |
ccl_device_forceinline T | ccl_gpu_tex_object_read_3D (const ccl_gpu_tex_object_3D texobj, const float x, const float y, const float z) |
__device__ half | __float2half (const float f) |
__device__ float | __half2float (const half h) |
#define __KERNEL_CUDA__ /* OptiX kernels are implicitly CUDA kernels too */ |
Definition at line 11 of file optix/compat.h.
#define __KERNEL_GPU__ |
Definition at line 10 of file optix/compat.h.
#define __KERNEL_OPTIX__ |
Definition at line 12 of file optix/compat.h.
#define ATTR_FALLTHROUGH |
Definition at line 17 of file optix/compat.h.
#define ccl_align | ( | n | ) | __align__(n) |
Definition at line 51 of file optix/compat.h.
#define ccl_constant const |
Definition at line 45 of file optix/compat.h.
#define ccl_device __device__ __forceinline__ |
Definition at line 35 of file optix/compat.h.
#define ccl_device_constant __constant__ __device__ |
Definition at line 44 of file optix/compat.h.
#define ccl_device_forceinline ccl_device |
Definition at line 38 of file optix/compat.h.
#define ccl_device_inline ccl_device |
Definition at line 37 of file optix/compat.h.
#define ccl_device_inline_method ccl_device |
Definition at line 39 of file optix/compat.h.
#define ccl_device_noinline __device__ __noinline__ |
Definition at line 40 of file optix/compat.h.
#define ccl_device_noinline_cpu ccl_device |
Definition at line 41 of file optix/compat.h.
#define ccl_global |
Definition at line 42 of file optix/compat.h.
#define ccl_gpu_ballot | ( | predicate | ) | __ballot_sync(0xFFFFFFFF, predicate) |
Definition at line 75 of file optix/compat.h.
#define ccl_gpu_block_dim_x (blockDim.x) |
Definition at line 63 of file optix/compat.h.
#define ccl_gpu_block_idx_x (blockIdx.x) |
Definition at line 64 of file optix/compat.h.
#define ccl_gpu_global_id_x | ( | ) | (ccl_gpu_block_idx_x * ccl_gpu_block_dim_x + ccl_gpu_thread_idx_x) |
Definition at line 69 of file optix/compat.h.
#define ccl_gpu_global_size_x | ( | ) | (ccl_gpu_grid_dim_x * ccl_gpu_block_dim_x) |
Definition at line 70 of file optix/compat.h.
Definition at line 65 of file optix/compat.h.
#define ccl_gpu_shared __shared__ |
Definition at line 46 of file optix/compat.h.
#define ccl_gpu_syncthreads | ( | ) | __syncthreads() |
Definition at line 74 of file optix/compat.h.
#define ccl_gpu_thread_idx_x (threadIdx.x) |
Definition at line 62 of file optix/compat.h.
#define ccl_gpu_thread_mask | ( | thread_warp | ) | uint(0xFFFFFFFF >> (ccl_gpu_warp_size - thread_warp)) |
Definition at line 67 of file optix/compat.h.
#define ccl_gpu_warp_size (warpSize) |
Definition at line 66 of file optix/compat.h.
#define ccl_inline_constant __constant__ |
Definition at line 43 of file optix/compat.h.
#define ccl_loop_no_unroll |
Definition at line 50 of file optix/compat.h.
#define ccl_may_alias |
Definition at line 48 of file optix/compat.h.
#define CCL_NAMESPACE_BEGIN |
Definition at line 13 of file optix/compat.h.
#define CCL_NAMESPACE_END |
Definition at line 14 of file optix/compat.h.
#define ccl_optional_struct_init = {} |
Definition at line 54 of file optix/compat.h.
#define ccl_private |
Definition at line 47 of file optix/compat.h.
#define ccl_restrict __restrict__ |
Definition at line 49 of file optix/compat.h.
#define kernel_assert | ( | cond | ) |
Definition at line 58 of file optix/compat.h.
#define OPTIX_DONT_INCLUDE_CUDA |
Definition at line 7 of file optix/compat.h.
typedef CUtexObject ccl_gpu_tex_object_2D |
Definition at line 80 of file optix/compat.h.
typedef CUtexObject ccl_gpu_tex_object_3D |
Definition at line 81 of file optix/compat.h.
typedef unsigned long long CUtexObject |
Definition at line 79 of file optix/compat.h.
typedef unsigned short half |
Definition at line 102 of file optix/compat.h.
__device__ half __float2half | ( | const float | f | ) |
Definition at line 104 of file optix/compat.h.
__device__ float __half2float | ( | const half | h | ) |
Definition at line 111 of file optix/compat.h.
ccl_device_forceinline T ccl_gpu_tex_object_read_2D | ( | const ccl_gpu_tex_object_2D | texobj, |
const float | x, | ||
const float | y | ||
) |
Definition at line 84 of file optix/compat.h.
ccl_device_forceinline T ccl_gpu_tex_object_read_3D | ( | const ccl_gpu_tex_object_3D | texobj, |
const float | x, | ||
const float | y, | ||
const float | z | ||
) |
Definition at line 92 of file optix/compat.h.