OpenCL basic codes