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.
Asked
Active
Viewed 355 times
1 Answers
1
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

Andriy Tylychko
- 15,967
- 6
- 64
- 112
-
Hi Andy, I asked the same at intel forum. It turns out for Cnc we use the CNC_NUM_THREADS environment variable and its not possible to control the placement of threads. – Kabira K Mar 10 '11 at 17:35