Developer Reference for Intel® oneAPI Math Kernel Library for C
mkl_set_interface_layer
Sets the interface layer for Intel® oneAPI Math Kernel Library (oneMKL) at run time. Use with the Single Dynamic Library.
Syntax
int mkl_set_interface_layer (int required_interface);
Include Files
- mkl.h
 
Input Parameters
Name  |  
      Type  |  
      Description  |  
     
|---|---|---|
required_interface  |  
      int  |  
      Determines the interface layer. Possible values depend on the system architecture. Some of the values are only available on Linux* OS: 
  |  
     
Description
If you are using the Single Dynamic Library (SDL), the mkl_set_interface_layerfunction sets the specified interface layer for Intel® oneAPI Math Kernel Library (oneMKL) at run time.
Call this function prior to calling any other Intel® oneAPI Math Kernel Library (oneMKL) function in your application exceptmkl_set_threading_layer. You can call mkl_set_interface_layer and mkl_set_threading_layer in any order.
The mkl_set_interface_layer function takes precedence over the MKL_INTERFACE_LAYER environment variable.
See Intel® oneAPI Math Kernel Library (oneMKL) Developer Guide for the layered model concept and usage details of the SDL.
Return Values
Type  |  
      Description  |  
     
|---|---|
int  |  
       
       
  |