Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
sw::universal::PGOOptimizer::Recommendation Struct Reference

Recommend precision based on accuracy requirement and energy budget Takes calibration into account if available. More...

#include <pgo_energy.hpp>

Public Attributes

std::string precision
unsigned bit_width
double calibrated_energy_factor
double raw_energy_factor
bool meets_energy_budget

Detailed Description

Recommend precision based on accuracy requirement and energy budget Takes calibration into account if available.

Member Data Documentation

◆ bit_width

unsigned sw::universal::PGOOptimizer::Recommendation::bit_width

◆ calibrated_energy_factor

double sw::universal::PGOOptimizer::Recommendation::calibrated_energy_factor

◆ meets_energy_budget

bool sw::universal::PGOOptimizer::Recommendation::meets_energy_budget

◆ precision

std::string sw::universal::PGOOptimizer::Recommendation::precision

◆ raw_energy_factor

double sw::universal::PGOOptimizer::Recommendation::raw_energy_factor

The documentation for this struct was generated from the following file:
  • /home/runner/work/universal/universal/include/sw/universal/utility/pgo_energy.hpp