Poplar and PopLibs
VariableMappingMethod.hpp
1// Copyright (c) 2018 Graphcore Ltd. All rights reserved.
2
3#ifndef poplar_VariableMappingMethod_hpp
4#define poplar_VariableMappingMethod_hpp
5
6#include <string>
7
8namespace poplar {
9
14 NONE,
16
17 LINEAR
21};
22
23std::string toString(const VariableMappingMethod &method);
24
25} // namespace poplar
26
27#endif // poplar_VariableMappingMethod_hpp
Poplar classes and functions.
Definition: ArrayRef.hpp:14
VariableMappingMethod
When variables are added to the graph, a tile mapping can be created.
Definition: VariableMappingMethod.hpp:13
@ LINEAR
The variable will be spread evenly across the tiles with the element ordering matching the tile numbe...
std::string toString(RecoveryAction recoveryAction)
Convert the recovery action to a string.
@ NONE
Not an error.