目录

Constructor

Function Description

Initializes data members during TBufPool object creation.

Function Prototype

template <TPosition pos, uint32_t bufIDSize = 4> 
__aicore__ inline TBufPool();

Parameters

Parameter Description
pos Logical location of TBufPool. The value can be VECIN, VECOUT, VECCALC, A1, B1, or C1. For details about TPosition, see TPosition.
bufIDSize Number of buffers that can be allocated by TBufPool. The default value is 4, and the value cannot exceed 16.

Restrictions

None