Changeset View
Changeset View
Standalone View
Standalone View
intern/cycles/kernel/kernels/opencl/kernel_queue_enqueue.cl
| Show All 13 Lines | |||||
| * limitations under the License. | * limitations under the License. | ||||
| */ | */ | ||||
| #include "kernel_compat_opencl.h" | #include "kernel_compat_opencl.h" | ||||
| #include "split/kernel_split_common.h" | #include "split/kernel_split_common.h" | ||||
| #include "split/kernel_queue_enqueue.h" | #include "split/kernel_queue_enqueue.h" | ||||
| __kernel void kernel_ocl_path_trace_queue_enqueue( | __kernel void kernel_ocl_path_trace_queue_enqueue( | ||||
| KernelGlobals *kg, | ccl_global char *kg, | ||||
| ccl_constant KernelData *data) | ccl_constant KernelData *data) | ||||
| { | { | ||||
| kernel_queue_enqueue(kg); | ccl_local unsigned int local_queue_atomics[2]; | ||||
| kernel_queue_enqueue((KernelGlobals*)kg, local_queue_atomics); | |||||
| } | } | ||||