Free pinned memory allocated by ArrayFire's memory manager. More...
Functions | |
AFAPI void | freePinned (const void *ptr) |
Free pinned memory allocated by ArrayFire's memory manager. More... | |
AFAPI af_err | af_free_pinned (void *ptr) |
Free pinned memory allocated by ArrayFire's memory manager.
These calls free the pinned memory on host. These functions need to be called on pointers allocated using pinned function.
AFAPI void freePinned | ( | const void * | ptr | ) |
Free pinned memory allocated by ArrayFire's memory manager.
These calls free the pinned memory on host. These functions need to be called on pointers allocated using pinned function.
[in] | ptr | the memory to free |