GetCurBufSize

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

x

Atlas inference product AI Core

Atlas inference product Vector Core

x

Atlas training product

Function Usage

Obtains the number of buffers allocated by the custom TBufPool.

Prototype

1
__aicore__ inline uint8_t GetCurBufSize()

Constraints

None

Returns

Number of allocated buffers.

Example

For details, see Example.