Applicable Products
Product
|
Supported (√/x)
|
Ascend 950PR/Ascend 950DT
|
√
|
Atlas A3 training products/Atlas A3 inference products
|
√
|
Atlas A2 training products/Atlas A2 inference products
|
√
|
Atlas training products
|
√
|
Atlas inference products
|
√
|
Atlas 200I/500 A2 inference products
|
√
|
Description
Creates data of the aclrtAllocatorDesc type as an allocator description, which is mainly used to register callback functions.
Prototype
- C Prototype
| aclrtAllocatorDesc aclrtAllocatorCreateDesc()
|
- Python Function
| desc = acl.rt.allocator_create_desc()
|
Return Values
Return Value
|
Description
|
desc
|
Int.
- If a pointer address of the aclrtAllocatorDesc type is returned, the operation is successful.
- NULL: failure
|