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