Constructor
Function Usage
Creates a TQueBind object.
Prototype
1 2 | template <TPosition src, TPosition dst, int32_t depth, auto mask = 0> __aicore__ inline TQueBind(); |
Parameters
Parameter |
Meaning |
|---|---|
src |
Source logical location. The supported TPosition can be VECIN, VECOUT, A1, A2, B1, B2, CO1, or CO2. For details about TPosition, see TPosition. For details about the supported combinations of src and dst, see Table 1. |
dst |
Destination logical location. The TPosition can be VECIN, VECOUT, A1, A2, B1, B2, CO1, or CO2. |
depth |
Depth of the TQue. Generally, the value is less than or equal to 4. |
mask |
If data needs to be converted during data movement on a queue, set this parameter to 0 or 1. Generally, you can skip this parameter configuration. The default value is 0. If this parameter is set to 0, the data format is converted from ND to NZ. Currently, TPosition can only be set to A1 or B1. |
Constraints
None
Parent topic: TQueBind