aclrtMemPoolCreate
Note: This API is reserved and not supported currently.
Description
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: Ordered Stream Memory Allocation