aclrtAllocatorCreateDesc

Description

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

Prototype

aclrtAllocatorDesc aclrtAllocatorCreateDesc()

Returns

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