Free memory allocated on host internally by ArrayFire. More...
Functions | |
AFAPI void | freeHost (const void *ptr) |
Free memory allocated internally by ArrayFire. More... | |
AFAPI af_err | af_free_host (void *ptr) |
Free memory allocated on host internally by ArrayFire.
This function is used for freeing memory on host that was allocated within ArrayFire. This is useful where the compiler version of ArrayFire library is different from the executable's compiler version.
It does not use ArrayFire's memory manager.
AFAPI void freeHost | ( | const void * | ptr | ) |
Free memory allocated internally by ArrayFire.
Free memory allocated on host internally by ArrayFire.
This function is used for freeing memory on host that was allocated within ArrayFire. This is useful where the compiler version of ArrayFire library is different from the executable's compiler version.
It does not use ArrayFire's memory manager.
[in] | ptr | the memory to free |