54 : inv(inv), div0(div0), oflo(oflo), esr(esr), nanoo(nanoo) {}
DebugContext gathers the common external parameters of the context of an operation.
Definition: DebugContext.hpp:221
void setFloatingPointBehaviour(poplar::Graph &graph, poplar::program::Sequence &prog, const FloatingPointBehaviour &behaviour, const DebugContext &debugContext={})
Set the floating point behaviour of a tile.
poplar::Tensor getAndModifyFloatingPointBehaviour(poplar::Graph &graph, poplar::program::Sequence &prog, const FloatingPointBehaviour &clear, const FloatingPointBehaviour &set, const DebugContext &debugContext={})
Get the current state and modify the floating-point behaviour on every tile that belongs to the targe...
void setStochasticRounding(poplar::Graph &graph, poplar::program::Sequence &prog, bool behaviour, const DebugContext &debugContext={})
Set stochastic rounding on or off for the selected tile.