Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

omp_set_num_threads vs mkl_set_num_threads

xian-zhong_guous_cd-
489 Views

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
Zhen_Z_Intel
Employee
489 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
Reply