GlobalExchangeConstraints

#include <poplar/GlobalExchangeConstraints.hpp>
template<>
struct std::hash<poplar::GlobalExchangeFlow>

Public Functions

size_t operator()(const poplar::GlobalExchangeFlow &value) const
template<>
struct std::hash<poplar::GlobalExchangeConstraint>

Public Functions

size_t operator()(const poplar::GlobalExchangeConstraint &value) const
namespace poplar

Poplar classes and functions.

struct GlobalExchangeConstraint

Public Functions

inline GlobalExchangeConstraint(double bandwidth, ArrayRef<GlobalExchangeFlow> flows)
bool operator==(const GlobalExchangeConstraint &other) const
bool operator<(const GlobalExchangeConstraint &other) const

Public Members

double bandwidth

Bandwidth in bits per second.

std::vector<GlobalExchangeFlow> flows

The flows that the constraint applies to.

struct GlobalExchangeFlow

Public Functions

inline GlobalExchangeFlow(unsigned src, unsigned dst)
bool operator==(const GlobalExchangeFlow &other) const
bool operator<(const GlobalExchangeFlow &other) const

Public Members

unsigned src
unsigned dst
namespace std
template<> GlobalExchangeConstraint >

Public Functions

size_t operator()(const poplar::GlobalExchangeConstraint &value) const
template<> GlobalExchangeFlow >

Public Functions

size_t operator()(const poplar::GlobalExchangeFlow &value) const