change the opencl code to match