Developer Reference for Intel® oneAPI Math Kernel Library for C
mkl_set_env_mode
Sets up the mode that ignores environment settings specific to Intel® oneAPI Math Kernel Library (oneMKL) .
Syntax
intmkl_set_env_mode ( intmode ) ;
Include Files
mkl.h
Input Parameters
Name |
Type |
Description |
|---|---|---|
mode |
int |
Specifies what mode to set. For details, see Description. Possible values:
|
Description
In the default environment mode , Intel® oneMKL can control its behavior using environment variables for threading, memory management, Conditional Numerical Reproducibility, automatic offload, and so on. The mkl_set_env_mode function sets up the environment mode that ignores all settings specified by Intel® oneMKL environment variables except MIC_LD_LIBRARY_PATH and MKLROOT .
Return Values
Name |
Type |
Description |
|---|---|---|
current_mode |
int |
Environment mode that was used before the function call:
|