Intel® Math Kernel Library 2019 Developer Reference - Fortran
Reports the status of the Intel MKL Memory Allocator.
AllocatedBytes = mkl_mem_stat( AllocatedBuffers )
Name |
Type |
Description |
|---|---|---|
AllocatedBuffers |
INTEGER*4 |
The number of buffers allocated by Intel MKL. |
The function returns the number of buffers allocated by Intel MKL and the amount of memory in these buffers. Intel MKL can allocate the memory buffers internally or in a call to mkl_malloc/mkl_calloc. If no buffers are allocated at the moment, the mkl_mem_stat function returns 0. Call mkl_mem_stat to check the Intel MKL memory status.
If you free all the memory allocated in calls to mkl_malloc or mkl_calloc and then call mkl_free_buffers, a subsequent call to mkl_mem_stat normally returns 0.
Name |
Type |
Description |
|---|---|---|
AllocatedBytes |
INTEGER*8 |
The amount of allocated memory (in bytes). |