|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
Result of Pareto analysis. More...
#include <pareto_explorer.hpp>
Public Member Functions | |
| PrecisionConfig | bestForAccuracy (double required_accuracy) const |
| Get the best config for a given accuracy requirement (2D: minimize energy). | |
| PrecisionConfig | bestForEnergy (double max_energy_factor) const |
| Get the best config for a given energy budget (2D: minimize error). | |
| PrecisionConfig | bestForBandwidth (double max_bandwidth_factor) const |
| Get the best config for a given bandwidth constraint. | |
| PrecisionConfig | bestForConstraints (double required_accuracy, double max_energy_factor, double max_bandwidth_factor) const |
| Get best config with combined constraints (3D). | |
| PrecisionConfig | bestForAlgorithm (double required_accuracy, const AlgorithmCharacteristics &algo) const |
| Get best config for a specific algorithm profile Balances compute and memory energy based on arithmetic intensity. | |
Public Attributes | |
| std::vector< PrecisionConfig > | all_configs |
| std::vector< PrecisionConfig > | frontier |
| std::vector< PrecisionConfig > | frontier_3d |
| std::vector< PrecisionConfig > | dominated |
Result of Pareto analysis.
|
inline |
Get the best config for a given accuracy requirement (2D: minimize energy).
|
inline |
Get best config for a specific algorithm profile Balances compute and memory energy based on arithmetic intensity.
|
inline |
Get the best config for a given bandwidth constraint.
|
inline |
Get best config with combined constraints (3D).
|
inline |
Get the best config for a given energy budget (2D: minimize error).
| std::vector<PrecisionConfig> sw::universal::ParetoResult::all_configs |
| std::vector<PrecisionConfig> sw::universal::ParetoResult::dominated |
| std::vector<PrecisionConfig> sw::universal::ParetoResult::frontier |
| std::vector<PrecisionConfig> sw::universal::ParetoResult::frontier_3d |