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