Hello everyone!
Let us suppose, that I have program built with “clBuildProgram”. Then I create two kernel objects from one kernel (__kernel void ...) using “clCreateKernel”: kernel1 and kernel2.
According to documentation, clSetKernelArg is not thread safe.
If I will set arguments for kernel1 in one thread and for kernel2 in other thread, do I need synchronization?