Updated to match the current WebCL API