Template Parameters

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

Availability

Atlas Training Series Product

Constraints

None