AnsweredAssumed Answered

Restricting OpenCL kernels to a single CPU core

Question asked by gdebrecz on Oct 21, 2012
Latest reply on Oct 21, 2012 by nou



I'd like to run my OpenCL app on a multi-core CPU but using only one of the cores.

More precisely, I'd like the each of the thread of the multi-threaded OpenCL code

being executed on the same core.  (I don't want completely serialize it using clEnqueTask

but using only one of the core.)


How I can reach this ? Is there some build opetion for that ? Or I have to use the

clCreateSubDevice to get one of the core ?


Currently the threads are spreading over several core and influencing other users

jobs on a multi-core CPU batch node.


thanks in advance,