reverting bad opencl optimization