Using new OpenCL calls (removing deprecated ones)