Poplar and PopLibs
IpuLinkConfiguration.hpp
1// Copyright (c) 2020 Graphcore Ltd. All rights reserved.
2
3#ifndef poplar_IpuLinkConfiguration_hpp
4#define poplar_IpuLinkConfiguration_hpp
5
6#include <iostream>
7
8namespace poplar {
11 Default, // Fully connects up to 16 IPUs in a ladder.
12 SlidingWindow, // Connects IPUs so that they can only communicate with a
13 // number of neighbours above and below.
14 BarleyTwist, // Same as Sliding window with the addition of the IPUs forming
15 // a ring.
16};
17
18std::ostream &operator<<(std::ostream &os, IpuLinkConfiguration ic);
19
20} // end namespace poplar
21
22#endif // poplar_IpuLinkConfiguration_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.
IpuLinkConfiguration
Enum to represent the IPU interconnect layout.
Definition: IpuLinkConfiguration.hpp:10