thank you again for your quick reply, but I am still not quite clear.Originally Posted by david.garcia
let me ask this way: in your pseudo-code, the context and program are created for all devices, but kernel is created for each device. However, in clCreateKernel(), I can not find an argument to specify which device to associate with. I can only give "program" as the first argument, but it is already associated with all devices.
Can you explain a little bit more?