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::PrecisionConfig Struct Reference

A single precision configuration with its characteristics. More...

#include <pareto_explorer.hpp>

Public Member Functions

 PrecisionConfig ()
 PrecisionConfig (const std::string &n, int bits, double acc, double energy, double bandwidth=0.0)

Public Attributes

std::string name
int bit_width
double relative_accuracy
double energy_factor
double bandwidth_factor
double memory_factor
bool is_pareto_optimal
bool is_pareto_optimal_3d
double accuracy_rank
double energy_rank
double bandwidth_rank
double ops_per_byte
double roofline_crossover

Detailed Description

A single precision configuration with its characteristics.

Constructor & Destructor Documentation

◆ PrecisionConfig() [1/2]

sw::universal::PrecisionConfig::PrecisionConfig ( )
inline

◆ PrecisionConfig() [2/2]

sw::universal::PrecisionConfig::PrecisionConfig ( const std::string & n,
int bits,
double acc,
double energy,
double bandwidth = 0.0 )
inline

Member Data Documentation

◆ accuracy_rank

double sw::universal::PrecisionConfig::accuracy_rank

◆ bandwidth_factor

double sw::universal::PrecisionConfig::bandwidth_factor

◆ bandwidth_rank

double sw::universal::PrecisionConfig::bandwidth_rank

◆ bit_width

int sw::universal::PrecisionConfig::bit_width

◆ energy_factor

double sw::universal::PrecisionConfig::energy_factor

◆ energy_rank

double sw::universal::PrecisionConfig::energy_rank

◆ is_pareto_optimal

bool sw::universal::PrecisionConfig::is_pareto_optimal

◆ is_pareto_optimal_3d

bool sw::universal::PrecisionConfig::is_pareto_optimal_3d

◆ memory_factor

double sw::universal::PrecisionConfig::memory_factor

◆ name

std::string sw::universal::PrecisionConfig::name

◆ ops_per_byte

double sw::universal::PrecisionConfig::ops_per_byte

◆ relative_accuracy

double sw::universal::PrecisionConfig::relative_accuracy

◆ roofline_crossover

double sw::universal::PrecisionConfig::roofline_crossover

The documentation for this struct was generated from the following file: