omp_set_dynamic() function is doesn't work...

omp_set_dynamic() function is doesn't work...

Hello, everyone..

I'm not good at English,,please understant me eventhough my English is bad..

I used the omp_set_dynamic() functions to adjust the number of threads dynamically.

When I use VC8 complier, it work well, but when I use Intel compiler, it doesn't work.

(example)

omp_set_num_threads(10);

omp_set_dynamic(1);//set dynamic thread num

if avariable thread num = 4,

On VC8 compiler, thread num = 4.

On Intel Compiler, thread num always is the same as omp_set_num_threads(10).

Is there good way to adjust the number of thread dynamically in Intel compiler..???

1 post / 0 new
For more complete information about compiler optimizations, see our Optimization Notice.