Template Parameters

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

√

Atlas inference product AI Core

√

Atlas inference product Vector Core

x

Atlas training product

√

Function Usage

The template parameters of the TQueSync class are used to specify the source pipeline and destination pipeline. The destination pipeline waits for the source pipeline.

Prototype

1
2
3
4
5
6
template<pipe_t src, pipe_t dst>
class TQueSync {
public:
    __aicore__ inline void SetFlag(TEventID id);
    __aicore__ inline void WaitFlag(TEventID id);
};

Parameters

Table 1 Parameters

Parameter

Input/Output

Description

src

Input

Source pipeline.

For details about supported pipelines, see Table 1.

dst

Input

Destination pipeline.

For details about supported pipelines, see Table 1.

Returns

None

Constraints

None