acltdtFreeBuf

The Atlas Training Series Product does not support this API.

Description

Frees the mbuf allocated by the acltdtAllocBuf call.

Restrictions

  • For the Atlas 200/300/500 Inference Product , this API can be used only in the following modes:

    Ascend RC Form

Prototype

aclError acltdtFreeBuf(acltdtBuf buf)

Parameters

Parameter

Input/Output

Description

buf

Input

mbuf to be freed.

Returns

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

See Also

For details about the API call sequence and example, see Shared Buffer Management.