GlobalExchangeConstraints

#include <poplar/GlobalExchangeConstraints.hpp>
namespace poplar

Poplar classes and functions.

struct GlobalExchangeConstraint

Public Functions

inline GlobalExchangeConstraint(double bandwidth, ArrayRef<GlobalExchangeFlow> flows)
inline bool operator==(const GlobalExchangeConstraint &other) const
inline 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)
inline bool operator==(const GlobalExchangeFlow &other) const
inline bool operator<(const GlobalExchangeFlow &other) const

Public Members

unsigned src
unsigned dst