acltdtAppendBufChain
Applicability
Product |
Supported |
|---|---|
x |
|
x |
|
√ |
|
x |
|
x |
Description
Adds a shared buffer to the shared buffer chain. A shared buffer chain supports a maximum of 128 shared buffers. You can obtain a shared buffer by calling acltdtAllocBuf or acltdtCopyBufRef.
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
headBuf |
Input |
First shared buffer at the head of the shared buffer chain. |
buf |
Input |
Shared buffer to add. |
Returns
0 on success; else, failure. For details, see aclError.
Restrictions
- For the
Atlas 200I/500 A2 inference products , this API can be used only in theAscend RC .
Parent topic: Shared Buffer Management