aclDestroyScalar

Function Usage

Destroys the aclScalar created by calling aclCreateScalar.

Prototype

aclnnStatus aclDestroyScalar(const aclScalar *scalar)

Parameters

Parameter

Input/Output

Description

scalar

Input

Pointer to the scalar to be destroyed.

Returns

0 on success; else, failure. For details about the return codes, see Common APIs and Return Codes.

Constraints

None

Examples

For details about API calls, see the examples in aclCreateScalar.