Blender Git Loki
Git Commits -> Revision 60ad21b
Revision 60ad21b by Mai Lavelle (cycles_split_kernel) March 4, 2017, 11:37 (GMT) |
Cycles: Calculate size of split state buffer kernel side By calculating the size of the state buffer in the kernel rather than the host less code is needed and the size actually reflects the requested features. Will also be a little faster in some cases because of larger global work size. |
Commit Details:
Full Hash: 60ad21badbeff1584418f632b90254943a8b5bf8
Parent Commit: 574c12a
Lines Changed: +148, -40
1 Added Path:
/intern/cycles/kernel/kernels/opencl/kernel_state_buffer_size.cl (+29, -0) (View)
9 Modified Paths:
/intern/cycles/device/device_cpu.cpp (+9, -2) (Diff)
/intern/cycles/device/device_cuda.cpp (+41, -2) (Diff)
/intern/cycles/device/device_split_kernel.cpp (+4, -9) (Diff)
/intern/cycles/device/device_split_kernel.h (+3, -2) (Diff)
/intern/cycles/device/opencl/opencl_split.cpp (+45, -2) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+2, -0) (Diff)
/intern/cycles/kernel/kernels/cuda/kernel_split.cu (+8, -0) (Diff)
/intern/cycles/kernel/split/kernel_data_init.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_split_data.h (+6, -22) (Diff)
/intern/cycles/device/device_cuda.cpp (+41, -2) (Diff)
/intern/cycles/device/device_split_kernel.cpp (+4, -9) (Diff)
/intern/cycles/device/device_split_kernel.h (+3, -2) (Diff)
/intern/cycles/device/opencl/opencl_split.cpp (+45, -2) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+2, -0) (Diff)
/intern/cycles/kernel/kernels/cuda/kernel_split.cu (+8, -0) (Diff)
/intern/cycles/kernel/split/kernel_data_init.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_split_data.h (+6, -22) (Diff)