1 Reply Latest reply on Nov 14, 2011 6:23 AM by Meteorhead

    Thread in OpenCL

    joeapisit

      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.

       

        • Thread in OpenCL
          Meteorhead

          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.