OpenCL utilities.