Intel® Math Kernel Library 2018 Developer Reference - C
Allocates an array with a given layout.
dnnError_t dnnAllocateBuffer_F32 (void **pPtr, dnnLayout_t layout);
dnnError_t dnnAllocateBuffer_F64 (void **pPtr, dnnLayout_t layout);
Layout |
The layout of the array to allocate. |
pPtr |
Pointer to the pointer to the array. |
Each dnnAllocateBuffer function allocates memory for arrays having a given layout. These arrays can be opaque structures that contain pointers to the actual data, as well as some auxiliary information.