aclrtMemPoolDestroy
Note: This API is reserved and is not supported currently.
Function
Destroys a memory pool created by calling aclrtMemPoolCreate.
Prototype
1 | aclError aclrtMemPoolDestroy(const aclrtMemPool memPool) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
memPool |
Input |
Memory pool instance. For details about the type definition, see aclrtMemPool. |
Returns
0 on success; otherwise, failure. For details, see aclError.
Parent topic: Stream-Ordered Memory Allocation