3#ifndef poplar_PerfEstimateFunc_hpp
4#define poplar_PerfEstimateFunc_hpp
9class VertexIntrospector;
12struct VertexPerfEstimate {
15 VertexPerfEstimate() =
default;
16 VertexPerfEstimate(std::uint64_t cycles, std::uint64_t flops = 0)
17 : cycles(cycles), flops(flops) {}
A target representation.
Definition: Target.hpp:69
Available to cycle estimators to inspect the shape and initial values of a vertex's fields.
Definition: VertexIntrospector.hpp:188
Poplar classes and functions.
Definition: ArrayRef.hpp:14
std::function< VertexPerfEstimate(const VertexIntrospector &v, const Target &target)> PerfEstimateFunc
Functions of this type can be used as performance estimator callbacks for new vertex types.
Definition: PerfEstimateFunc.hpp:25