Developer Guide

Developer Guide for Intel® oneAPI Math Kernel Library Windows*

ID 766692
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Using the Single Dynamic Library

You can simplify your link line through the use of the Intel® oneAPI Math Kernel Library (oneMKL) Single Dynamic Library (SDL).

To use SDL, place mkl_rt.lib on your link line. For example:

icl.exe application.c mkl_rt.lib

mkl_rt.lib is the import library for mkl_rt.dll.

SDL enables you to select the interface and threading library for Intel® oneAPI Math Kernel Library (oneMKL) at run time. By default, linking with SDL provides:

  • Intel LP64 interface on systems based on the Intel® 64 architecture
  • Intel threading

To use other interfaces or change threading preferences, including use of the sequential version of Intel® oneAPI Math Kernel Library (oneMKL), you need to specify your choices using functions or environment variables as explained in sectionDynamically Selecting the Interface and Threading Layer.

NOTE:
Intel® oneAPI Math Kernel Library (oneMKL) SDL (mkl_rt) does not support DPC++ APIs. If your application requires support of Intel® oneAPI Math Kernel Library (oneMKL) DPC++ APIs, refer to Intel® oneAPI Math Kernel Library Link-line Advisor to configure your link command.