fix OpenCL computation