Blender Git Loki

Git Commits -> Revision dcc4260

Revision dcc4260 by Mai Lavelle (cycles_split_kernel)
October 27, 2016, 18:08 (GMT)
Cycles: Finish implementing the split kernel for CPU devices

Implements the `data_init` kernel plus a few fixes so that it runs correctly.

The split kernel now works on CPU devices. This means we have the ability to
debug the kernel, get better compiler logs, and have a new device to compare
to, all of which will help in developing and keeping the split kernel
correct. With this implementing branched path tracing, volumes and subsurface
scattering will be much easier.

Even at this point the CPU implementation already paying off by making long
existing bugs in the kernel apparent.

It should be noted that while the kernel works, it is a bit slower than the
mega kernel (~13% with BMW). Will need to investigate whether this is a
bug / implementation issue or if split kernels are simply slower by nature.

Commit Details:

Full Hash: dcc42603d87a40c371f695c20d27a1f324925b85
Parent Commit: e3bb3ed
Lines Changed: +117, -16

6 Modified Paths:

/intern/cycles/device/device_cpu.cpp (+97, -15) (Diff)
/intern/cycles/device/device_memory.h (+1, -0) (Diff)
/intern/cycles/kernel/kernels/cpu/kernel_cpu_impl.h (+3, -0) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_data_init.cl (+1, -0) (Diff)
/intern/cycles/kernel/kernel_types.h (+5, -0) (Diff)
/intern/cycles/kernel/split/kernel_data_init.h (+10, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021