acltdtCopyBufRef
Applicability
Product |
Supported |
|---|---|
x |
|
x |
|
√ |
|
x |
|
x |
Description
Performs reference copy on the data area of the shared buffer and creates and returns a new buffer management structure pointing to the same data area.
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
buf |
Input |
Shared buffer, which must be obtained by calling acltdtAllocBuf or acltdtCopyBufRef. |
newBuf |
Output |
A new shared buffer, pointing to the same data area. |
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