Reputation: 2007
I am using intel cnc library and it creates as many threads as there are cores. Is there any way to control the number of threads used for the purpose and possibly control their placement.
Upvotes: 0
Views: 363
Reputation: 16256
not sure about cnc, but since you tagged this question as tbb
, there's a class tbb::task_scheduler_init
which takes number of threads as ctor arg
Upvotes: 1