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

when set mkl_set_num_threads( ) bigger than 1

HedwigHuang
Beginner
926 Views

I tried to run my code and before doing the math, I wrote `mkl_set_num_threads(1);`, I used to check my computer that the maximum threads is 4, but when I tried to set 2-4, the result of the program is no response, it seems stucked in the calculating a function.

How can I solve the problem if I want to run on multi-thread? Great thanks!

0 Kudos
1 Solution
Ruqiu_C_Intel
Moderator
751 Views

Thank you for reaching us. This issue is closing and we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread.


View solution in original post

0 Kudos
2 Replies
Ruqiu_C_Intel
Moderator
847 Views

Hi,

Have you refer this article about how to compile and link oneMKL library?

https://www.intel.com/content/www/us/en/developer/tools/oneapi/onemkl-link-line-advisor.html


If you still meet the issue, please share us a simple reproducer, compile option, as well as tell us your OS, oneMKL version, CPU platform information, etc.


Regards,

Ruqiu


0 Kudos
Ruqiu_C_Intel
Moderator
752 Views

Thank you for reaching us. This issue is closing and we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread.


0 Kudos
Reply