Blender Git Loki

Git Commits -> Revision 7f6b0f7

March 7, 2017, 10:58 (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: 7f6b0f717c31af47867983d27126759ca7184ba8
Parent Commit: f8d2dc1
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021