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

New linking model since the Intel MKL 10.3 beta for Windows* OS

Artem_V_Intel
Employee
258 Views

Starting the version 10.3 beta, Intel MKL provides new optional dynamic linking model on Windows* OS.

Link line for Intel MKL 10.2 looks like

icl.exe code.cpp mkl_intel_lp64.lib mkl_intel_thread.lib mkl_core.lib libiomp5md.lib

In the 10.3 beta version following link line may be used:

icl.exe code.cpp mkl_rt.lib

Corresponding DLL has name mkl_rt.dll.

Setting the threading and interface layers in Intel MKL 10.3 beta version may be done using environment variables (MKL_THREADING_LAYER and MKL_INTERFACE_LAYER correspondingly) and service functions (MKL_Set_Threading_Layer(int code) and MKL_Set_Interface_Layer(int code) correspondingly).

This service functions:

  • Have precedence over corresponding environment variables
  • Must be called before any other Intel MKL functions

New linking model allows direct use of Intel MKL DLLs that especially useful for C# and Java programmers. No custom DLL is needed in this case.

Please take a look at this KB article for more details about new optional linking model.

0 Kudos
0 Replies
Reply