aclrtFreeBuf

Description

Frees the shared buffer allocated by the aclrtAllocBuf call.

Prototype

1
aclError aclrtFreeBuf(aclrtMbuf buf)

Parameters

Parameter

Input/Output

Description

buf

Input

Shared buffer to free. For details about the type definition, see aclrtMbuf.

Returns

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