aclrtMemPoolGetAttr
Note: This API is reserved and not supported currently.
Description
Obtains the value of a specific attribute.
If the attribute is not set by calling aclrtMemPoolSetAttr, the default value of the attribute is obtained.
Prototype
1 | aclError aclrtMemPoolGetAttr(aclrtMemPool memPool, aclrtMemPoolAttr attr, void *value) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
memPool |
Input |
Memory pool instance. For details about the type definition, see aclrtMemPool. |
attr |
Input |
Attribute. For details about the type definition, see aclrtMemPoolAttr. |
value |
Output |
Pointer to the address of the output attribute value. The type pointed to must be the same as the type of the attribute specified by attr. |
Returns
0 on success; otherwise, failure. For details, see aclError.
Parent topic: Ordered Stream Memory Allocation