Blender Git Commit Log
Git Commits -> Revision 3060347
Revision 3060347 by Mai Lavelle (master) March 8, 2017, 06:31 (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: 306034790fb75ca2c182d55132287cc0ed4b9c2f
Parent Commit: 997e345
Lines Changed: +147, -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 (+7, -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 (+7, -0) (Diff)
/intern/cycles/kernel/split/kernel_data_init.h (+1, -1) (Diff)
/intern/cycles/kernel/split/kernel_split_data.h (+6, -22) (Diff)