aclrtFreeBuf

Description

Frees the shared buffer allocated by the aclrtAllocBuf call.

Prototype

aclError aclrtFreeBuf(aclrtMbuf buf)

Parameters

Parameter

Input/Output

Description

buf

Input

Shared buffer to free.

Returns

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