* Updated to be compatible with OpenCL 1.2