cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

joeapisit
Journeyman III

Thread in OpenCL

Hi all,

I'm developing OpenCL and I'd like to spawn threads of CPUs in OpenCL. How to set the number of threads in OpenCL.

Thanks.

 

0 Likes
1 Reply
Meteorhead
Challenger

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.

0 Likes