aclrtAllocatorDestroyDesc

Description

Destroys data of the aclrtAllocatorDesc type created by the aclrtAllocatorCreateDesc call.

Prototype

aclError aclrtAllocatorDestroyDesc(aclrtAllocatorDesc allocatorDesc)

Parameters

Parameter

Input/Output

Description

allocatorDesc

Input

aclrtAllocatorDesc data to be destroyed.

Returns

The value 0 indicates success, and other values indicate failure. For details, see aclError.