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

1socket/1core/1threads ?

Tanaka__Allan
Beginner
408 Views

Hi.

I am using Intel i7-7700K with Hyperthreading enabled.

Is there a way to correctly set MKL environment in the KMP_AFFINITY so that the topology looks like:

socket number = physical core with 1 thread per core.

 

0 Kudos
1 Reply
Ying_H_Intel
Employee
408 Views

Hi,

You may  set KMP_AFFINITY=granularity=fine,compact,1,0  

please see MKL developer guide to view the details:  https://software.intel.com/en-us/mkl-macos-developer-guide-using-intel-hyper-threading-technology
Best Regards,

Ying
 

 

 

 

0 Kudos
Reply