blender/intern/cycles/kernel/kernels
Mai Lavelle eb293f59f2 Cycles: Pass all buffers to each kernel call for OpenCL
Technically not passing all buffers used by a kernel is undefined
behavior. We haven't had any issues with this so far on AMD or
Nvidia, but it's known to be a problem with Intel and we received
a report from AMD that this is a problem on newer hardware, so we
need to make this change at some point.

Unfortunately there a cost to being correct, about 5% for the
benchmark scenes. For low sample counts it's even worse, I've
seen up to 50% slowdown. For the latter case I think adjusting
tile updating logic can help, but not sure what that would look
like yet (it would be just a few lines change however).
2017-06-10 04:08:49 -04:00
..
cpu Cycles: Add kernel to enqueue inactive rays 2017-06-10 03:51:18 -04:00
cuda Cycles: Add kernel to enqueue inactive rays 2017-06-10 03:51:18 -04:00
opencl Cycles: Pass all buffers to each kernel call for OpenCL 2017-06-10 04:08:49 -04:00