aclrtDestroyBinary

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

√

Atlas A3 training products/Atlas A3 inference products

√

Atlas A2 training products/Atlas A2 inference products

√

Atlas 200I/500 A2 inference products

√

Atlas inference products

√

Atlas training products

√

Function

Destroys the data of the aclrtBinary type created by the aclrtCreateBinary call. The operator here is a custom operator developed by using Ascend C.

Note that only the aclrtBinary data is destroyed. The data memory transferred when the aclrtCreateBinary API is called must be freed by the user in a timely manner. Otherwise, the memory may be abnormal.

Prototype

1
aclError aclrtDestroyBinary(aclrtBinary binary)

Parameters

Parameter

Input/Output

Description

binary

Input

aclrtBinary data to be destroyed.

Returns

0 on success; otherwise, failure. For details, see aclError.