Template Parameters

Product Support

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference product's AI Core

Atlas inference product's Vector Core

x

Atlas training products

Function

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

Restrictions

None