Visible to Intel only — GUID: GUID-E84A483B-59AB-405B-B941-60A67F3F8CA4
Visible to Intel only — GUID: GUID-E84A483B-59AB-405B-B941-60A67F3F8CA4
mkl_set_threading_layer
Sets the threading layer for Intel® oneAPI Math Kernel Library at run time. Use with the Single Dynamic Library (SDL).
threading = mkl_set_threading_layer( required_threading )
- Include file: mkl.fi
- Module (compiled): mkl_service.mod
- Module (source): mkl_service.f90
Name |
Type |
Description |
---|---|---|
required_threading |
INTEGER |
Determines the threading layer. Possible values: MKL_THREADING_INTEL for Intel threading. MKL_THREADING_SEQUENTIALfor the sequential mode of Intel® oneAPI Math Kernel Library. MKL_THREADING_TBB for threading with the Intel® Threading Building Blocks. MKL_THREADING_PGI for PGI threading on Windows* or Linux* operating system only. Do not use this value with the SDL for Intel® Many Integrated Core (Intel® MIC) Architecture. MKL_THREADING_GNU for GNU threading on Linux* operating system only. Do not use this value with the SDL for Intel MIC Architecture. |
If you are using the Single Dynamic Library (SDL), the mkl_set_threading_layerfunction sets the specified threading layer for Intel® oneAPI Math Kernel Library at run time.
Call this function prior to calling any other Intel® oneAPI Math Kernel Library function in your application exceptmkl_set_interface_layer.
You can call mkl_set_threading_layer and mkl_set_interface_layer in any order.
The mkl_set_threading_layer function takes precedence over the MKL_THREADING_LAYER environment variable.
See Intel® oneAPI Math Kernel Library Developer Guide for the layered model concept and usage details of the SDL.
Type |
Description |
---|---|
INTEGER |
|