Function: allocator_destroy_desc

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas training product

Atlas inference product

Atlas 200I/500 A2 inference product

Function

Destroys data of the aclrtAllocatorDesc type created by the acl.rt.allocator_create_desc call.

Prototype

  • C Prototype
    1
    aclError aclrtAllocatorDestroyDesc(aclrtAllocatorDesc alloctorDesc)
    
  • Python Function
    1
    ret = acl.rt.allocator_destroy_desc(alloctorDesc)
    

Parameters

Parameter

Description

allocatorDesc

Int, aclrtAllocatorDesc data to be destroyed.

Return Value

Returned Value

Description

ret

Int, 0 on success; else, failure.