Poplar and PopLibs
SyncType.hpp
1// Copyright (c) 2019 Graphcore Ltd. All rights reserved.
2
3#ifndef poplar_SyncType_hpp
4#define poplar_SyncType_hpp
5
6#include <ostream>
7
8namespace poplar {
9
13enum class SyncType {
14 INTERNAL,
16 EXTERNAL,
18 GLOBAL
20};
21
22std::ostream &operator<<(std::ostream &os, const SyncType &t);
23
24} // namespace poplar
25
26#endif // poplar_SyncType_hpp
Poplar classes and functions.
Definition: ArrayRef.hpp:14
std::ostream & operator<<(std::ostream &os, const DebugNameAndId &dnai)
Display the path name of the DebugNameAndId.
SyncType
An enumeration used to state what type of synchronisation a Sync program represents.
Definition: SyncType.hpp:13
@ INTERNAL
Each tile waits until all the other tiles in the same IPU reach the Sync program before continuing.
@ EXTERNAL
Each tile waits until all the other tiles in all IPUs in the device reach the Sync program before con...
@ GLOBAL
Each tile waits until all the other tiles in all IPUs globally reach the Sync program before continui...