I'm developing OpenCL and I'd like to spawn threads of CPUs in OpenCL. How to set the number of threads in OpenCL.
Through the global and local worksizes of clEnqueueNDRangeKernel. To see how many instances of your kernel run in parlell, query kernel info parameters.
But I suggest doing some tutorials first, as such basic questions are covered in all of them.