mkl_disable_fast_mm
mkl_disable_fast_mm
Turns off the Memory Allocator for functions to directly use the system
Intel® oneAPI Math Kernel Library
Intel® oneAPI Math Kernel Library
malloc
/free
functions.Syntax
int
mkl_disable_fast_mm
(
void
);
Include Files
- mkl.h
Description
The Memory Allocator off for functions to directly use the system Memory Allocator uses per-thread memory pools where buffers may be collected for fast reuse. The Memory Allocator is turned on by default for better performance. To turn it off, you can use the Developer Guide for details.) Call
functions that require allocation of memory buffers.
mkl_disable_fast_mm
function turns the Intel® oneAPI Math Kernel Library
Intel® oneAPI Math Kernel Library
malloc
/free
functions. Intel® oneAPI Math Kernel Library
mkl_disable_fast_mm
function or the
MKL_DISABLE_FAST_MM
environment variable (See the Intel® oneAPI Math Kernel Library
mkl_disable_fast_mm
before calling any Intel® oneAPI Math Kernel Library
Turning the Memory Allocator off negatively impacts performance of some routines, especially for small problem sizes.
Intel® oneAPI Math Kernel Library
Return Values
Name | Type | Description |
---|---|---|
mm | int | 1 - The Memory Allocator is successfully turned off. 0 - Turning the Memory Allocator off failed. |