The definitions in the OpenCL code were slightly wrong. Fixing the
issue.