aclDestroyScalar
Description
Destroys the aclScalar created by calling the aclCreateScalar API.
Prototype
aclnnStatus aclDestroyScalar(const aclScalar *scalar)
Parameter Description
Parameter |
Input/Output |
Description |
|---|---|---|
scalar |
Input |
Pointer to the scalar to be destroyed. |
Return Value
0 on success; otherwise, failure. For details about the return codes, see Common API Return Codes.
Constraints
None.
Example
For details about API calls, see the call examples in aclCreateScalar.
Parent topic: Common APIs