Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
42 Views

omp_set_num_threads vs mkl_set_num_threads

According MKL documentation, omp_set_num_threads is enough to define the num of threads used by MKL. But that's not the case: I have to use mkl_set_num_threads.

0 Kudos
1 Reply
Highlighted
Employee
42 Views

Hi,

You could use omp or mkl for threading control, but the mkl has a higher priority. I do not clear what kind of problem you are facing. But we recommend to use mkl_set_num_threads() to set. Thanks.

Best regards,
Fiona

0 Kudos