|
Blender
V2.93
|
Go to the source code of this file.
Macros | |
| #define | __KERNEL_GPU__ |
| #define | __KERNEL_OPENCL__ |
| #define | CCL_NAMESPACE_BEGIN |
| #define | CCL_NAMESPACE_END |
| #define | ccl_noinline |
| #define | ccl_device |
| #define | ccl_device_inline ccl_device |
| #define | ccl_device_forceinline ccl_device |
| #define | ccl_device_noinline ccl_device ccl_noinline |
| #define | ccl_device_noinline_cpu ccl_device |
| #define | ccl_may_alias |
| #define | ccl_static_constant static __constant |
| #define | ccl_constant __constant |
| #define | ccl_global __global |
| #define | ccl_local __local |
| #define | ccl_local_param __local |
| #define | ccl_private __private |
| #define | ccl_restrict restrict |
| #define | ccl_ref |
| #define | ccl_align(n) __attribute__((aligned(n))) |
| #define | ccl_optional_struct_init |
| #define | ccl_loop_no_unroll |
| #define | ccl_addr_space |
| #define | ATTR_FALLTHROUGH |
| #define | ccl_local_id(d) get_local_id(d) |
| #define | ccl_global_id(d) get_global_id(d) |
| #define | ccl_local_size(d) get_local_size(d) |
| #define | ccl_global_size(d) get_global_size(d) |
| #define | ccl_group_id(d) get_group_id(d) |
| #define | ccl_num_groups(d) get_num_groups(d) |
| #define | __NODES_MAX_GROUP__ NODE_GROUP_LEVEL_MAX |
| #define | __NODES_FEATURES__ NODE_FEATURE_ALL |
| #define | kernel_assert(cond) |
| #define | make_float2(x, y) ((float2)(x, y)) |
| #define | make_float3(x, y, z) ((float3)(x, y, z)) |
| #define | make_float4(x, y, z, w) ((float4)(x, y, z, w)) |
| #define | make_int2(x, y) ((int2)(x, y)) |
| #define | make_int3(x, y, z) ((int3)(x, y, z)) |
| #define | make_int4(x, y, z, w) ((int4)(x, y, z, w)) |
| #define | make_uchar4(x, y, z, w) ((uchar4)(x, y, z, w)) |
| #define | __uint_as_float(x) as_float(x) |
| #define | __float_as_uint(x) as_uint(x) |
| #define | __int_as_float(x) as_float(x) |
| #define | __float_as_int(x) as_int(x) |
| #define | powf(x, y) pow(((float)(x)), ((float)(y))) |
| #define | fabsf(x) fabs(((float)(x))) |
| #define | copysignf(x, y) copysign(((float)(x)), ((float)(y))) |
| #define | asinf(x) asin(((float)(x))) |
| #define | acosf(x) acos(((float)(x))) |
| #define | atanf(x) atan(((float)(x))) |
| #define | floorf(x) floor(((float)(x))) |
| #define | ceilf(x) ceil(((float)(x))) |
| #define | hypotf(x, y) hypot(((float)(x)), ((float)(y))) |
| #define | atan2f(x, y) atan2(((float)(x)), ((float)(y))) |
| #define | fmaxf(x, y) fmax(((float)(x)), ((float)(y))) |
| #define | fminf(x, y) fmin(((float)(x)), ((float)(y))) |
| #define | fmodf(x, y) fmod((float)(x), (float)(y)) |
| #define | sinhf(x) sinh(((float)(x))) |
| #define | coshf(x) cosh(((float)(x))) |
| #define | tanhf(x) tanh(((float)(x))) |
| #define | sinf(x) native_sin(((float)(x))) |
| #define | cosf(x) native_cos(((float)(x))) |
| #define | tanf(x) native_tan(((float)(x))) |
| #define | expf(x) native_exp(((float)(x))) |
| #define | sqrtf(x) native_sqrt(((float)(x))) |
| #define | logf(x) native_log(((float)(x))) |
| #define | rcp(x) native_recip(x) |
| #define | kernel_data (*kg->data) |
| #define | kernel_tex_array(tex) ((const ccl_global tex##_t *)(kg->buffers[kg->tex.cl_buffer] + kg->tex.data)) |
| #define | kernel_tex_fetch(tex, index) kernel_tex_array(tex)[(index)] |
| #define | NULL ((void *)0) |
Definition at line 120 of file kernel_compat_opencl.h.
Definition at line 118 of file kernel_compat_opencl.h.
Definition at line 119 of file kernel_compat_opencl.h.
| #define __KERNEL_GPU__ |
Definition at line 20 of file kernel_compat_opencl.h.
| #define __KERNEL_OPENCL__ |
Definition at line 21 of file kernel_compat_opencl.h.
| #define __NODES_FEATURES__ NODE_FEATURE_ALL |
Definition at line 79 of file kernel_compat_opencl.h.
| #define __NODES_MAX_GROUP__ NODE_GROUP_LEVEL_MAX |
Definition at line 76 of file kernel_compat_opencl.h.
Definition at line 117 of file kernel_compat_opencl.h.
Definition at line 125 of file kernel_compat_opencl.h.
Definition at line 124 of file kernel_compat_opencl.h.
Definition at line 130 of file kernel_compat_opencl.h.
Definition at line 126 of file kernel_compat_opencl.h.
| #define ATTR_FALLTHROUGH |
Definition at line 63 of file kernel_compat_opencl.h.
| #define ccl_addr_space |
Definition at line 60 of file kernel_compat_opencl.h.
| #define ccl_align | ( | n | ) | __attribute__((aligned(n))) |
Definition at line 48 of file kernel_compat_opencl.h.
| #define ccl_constant __constant |
Definition at line 41 of file kernel_compat_opencl.h.
| #define ccl_device |
Definition at line 34 of file kernel_compat_opencl.h.
| #define ccl_device_forceinline ccl_device |
Definition at line 36 of file kernel_compat_opencl.h.
| #define ccl_device_inline ccl_device |
Definition at line 35 of file kernel_compat_opencl.h.
| #define ccl_device_noinline ccl_device ccl_noinline |
Definition at line 37 of file kernel_compat_opencl.h.
| #define ccl_device_noinline_cpu ccl_device |
Definition at line 38 of file kernel_compat_opencl.h.
| #define ccl_global __global |
Definition at line 42 of file kernel_compat_opencl.h.
| #define ccl_global_id | ( | d | ) | get_global_id(d) |
Definition at line 66 of file kernel_compat_opencl.h.
| #define ccl_global_size | ( | d | ) | get_global_size(d) |
Definition at line 69 of file kernel_compat_opencl.h.
| #define ccl_group_id | ( | d | ) | get_group_id(d) |
Definition at line 71 of file kernel_compat_opencl.h.
| #define ccl_local __local |
Definition at line 43 of file kernel_compat_opencl.h.
| #define ccl_local_id | ( | d | ) | get_local_id(d) |
Definition at line 65 of file kernel_compat_opencl.h.
| #define ccl_local_param __local |
Definition at line 44 of file kernel_compat_opencl.h.
| #define ccl_local_size | ( | d | ) | get_local_size(d) |
Definition at line 68 of file kernel_compat_opencl.h.
| #define ccl_loop_no_unroll |
Definition at line 54 of file kernel_compat_opencl.h.
| #define ccl_may_alias |
Definition at line 39 of file kernel_compat_opencl.h.
| #define CCL_NAMESPACE_BEGIN |
Definition at line 24 of file kernel_compat_opencl.h.
| #define CCL_NAMESPACE_END |
Definition at line 25 of file kernel_compat_opencl.h.
| #define ccl_noinline |
Definition at line 30 of file kernel_compat_opencl.h.
| #define ccl_num_groups | ( | d | ) | get_num_groups(d) |
Definition at line 72 of file kernel_compat_opencl.h.
| #define ccl_optional_struct_init |
Definition at line 49 of file kernel_compat_opencl.h.
| #define ccl_private __private |
Definition at line 45 of file kernel_compat_opencl.h.
| #define ccl_ref |
Definition at line 47 of file kernel_compat_opencl.h.
| #define ccl_restrict restrict |
Definition at line 46 of file kernel_compat_opencl.h.
| #define ccl_static_constant static __constant |
Definition at line 40 of file kernel_compat_opencl.h.
Definition at line 123 of file kernel_compat_opencl.h.
Definition at line 142 of file kernel_compat_opencl.h.
Definition at line 135 of file kernel_compat_opencl.h.
Definition at line 144 of file kernel_compat_opencl.h.
Definition at line 131 of file kernel_compat_opencl.h.
Definition at line 132 of file kernel_compat_opencl.h.
Definition at line 133 of file kernel_compat_opencl.h.
Definition at line 129 of file kernel_compat_opencl.h.
| #define kernel_assert | ( | cond | ) |
Definition at line 83 of file kernel_compat_opencl.h.
Definition at line 159 of file kernel_compat_opencl.h.
| #define kernel_tex_array | ( | tex | ) | ((const ccl_global tex##_t *)(kg->buffers[kg->tex.cl_buffer] + kg->tex.data)) |
Definition at line 160 of file kernel_compat_opencl.h.
| #define kernel_tex_fetch | ( | tex, | |
| index | |||
| ) | kernel_tex_array(tex)[(index)] |
Definition at line 162 of file kernel_compat_opencl.h.
Definition at line 146 of file kernel_compat_opencl.h.
Definition at line 108 of file kernel_compat_opencl.h.
Definition at line 109 of file kernel_compat_opencl.h.
Definition at line 110 of file kernel_compat_opencl.h.
Definition at line 112 of file kernel_compat_opencl.h.
Definition at line 113 of file kernel_compat_opencl.h.
Definition at line 114 of file kernel_compat_opencl.h.
| return NULL ((void *)0) |
Definition at line 166 of file kernel_compat_opencl.h.
Definition at line 121 of file kernel_compat_opencl.h.
Definition at line 147 of file kernel_compat_opencl.h.
Definition at line 141 of file kernel_compat_opencl.h.
Definition at line 134 of file kernel_compat_opencl.h.
Definition at line 145 of file kernel_compat_opencl.h.
Definition at line 143 of file kernel_compat_opencl.h.
Definition at line 136 of file kernel_compat_opencl.h.