Cycles: Add OpenCL kernel for zeroing memory buffers
authorMai Lavelle <mai.lavelle@gmail.com>
Thu, 26 Jan 2017 06:41:48 +0000 (01:41 -0500)
committerMai Lavelle <mai.lavelle@gmail.com>
Wed, 8 Mar 2017 05:52:41 +0000 (00:52 -0500)
commit520b53364c73c75c4ff400d639dad13630f0e6fc
tree8ecdc8d47cb3d604b42d955840b9a3d38738946b
parentdfd6055eb0798c8cba245d47cd4a3fe51270a52a
Cycles: Add OpenCL kernel for zeroing memory buffers

Transferring memory to the device was very slow and there's really no
need when only zeroing a buffer.
intern/cycles/device/opencl/opencl_base.cpp
intern/cycles/kernel/kernels/opencl/kernel.cl