change OpenCL code to cl_float3