There were some typos in OpenCL kernels.