aclrtAllocatorCreateDesc

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Description

Creates data of the aclrtAllocatorDesc type, indicating the Allocator description, which is mainly used to register callback functions.

Prototype

1
aclrtAllocatorDesc aclrtAllocatorCreateDesc()

Returns

  • Success: pointer to data of the aclrtAllocatorDesc type
  • Failure: NULL