mkl_mem_stat
mkl_mem_stat
Reports the status of the Memory Allocator.
Intel® oneAPI Math Kernel Library
Syntax
MKL_INT64
mkl_mem_stat
(
int
*
AllocatedBuffers
);
Include Files
- mkl.h
Output Parameters
Name | Type | Description |
---|---|---|
AllocatedBuffers | int | The number of buffers allocated by Intel® oneAPI Math Kernel Library |
Description
The function returns the number of buffers allocated by and the amount of memory in these buffers. can allocate the memory buffers internally or in a call tomkl_malloc/mkl_calloc. If no buffers are allocated at the moment, the memory status.
Intel® oneAPI Math Kernel Library
Intel® oneAPI Math Kernel Library
mkl_mem_stat
function returns 0. Call mkl_mem_stat
to check the Intel® oneAPI Math Kernel Library
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.Return Values
Name | Type | Description |
---|---|---|
AllocatedBytes | MKL_INT64 | The amount of allocated memory (in bytes). |