Intel® oneAPI Math Kernel Library Developer Reference - Fortran
Allocates an aligned memory buffer.
a_ptr = mkl_malloc( alloc_size, alignment )
Name |
Type |
Description |
---|---|---|
alloc_size |
INTEGER*4 for 32-bit systems |
Size of the buffer to be allocated. |
alignment |
INTEGER*4 |
Alignment of the buffer. |
The function allocates an alloc_size-byte buffer aligned on the alignment-byte boundary.
If alignment is not a power of 2, the 32-byte alignment is used.
Name |
Type |
Description |
---|---|---|
a_ptr |
POINTER |
Pointer to the allocated buffer if alloc_size≥ 1, NULL if alloc_size < 1. |