Frees memory. This API is synchronous.
aclrtFreeHost frees only memory allocated by the aclrtMallocHost call.
aclError aclrtFreeHost(void *hostPtr)
Parameter |
Input/Output |
Description |
|---|---|---|
hostPtr |
Input |
Pointer to memory to free. |
0 on success; else, failure.
For the API call example, see Data Transfer.