Profile-Guided Optimizer Uses calibrated models to recommend optimal precision.
More...
#include <pgo_energy.hpp>
|
| struct | Recommendation |
| | Recommend precision based on accuracy requirement and energy budget Takes calibration into account if available. More...
|
Profile-Guided Optimizer Uses calibrated models to recommend optimal precision.
◆ PGOOptimizer() [1/2]
| sw::universal::PGOOptimizer::PGOOptimizer |
( |
| ) |
|
|
inline |
◆ PGOOptimizer() [2/2]
◆ calibrator()
Get the calibrator for running calibration.
◆ isCalibrated()
| bool sw::universal::PGOOptimizer::isCalibrated |
( |
| ) |
const |
|
inline |
Check if the optimizer has calibration data.
◆ recommend()
| Recommendation sw::universal::PGOOptimizer::recommend |
( |
double | accuracy_requirement, |
|
|
double | energy_budget_factor, |
|
|
const std::vector< std::pair< std::string, unsigned > > & | candidates ) |
|
inline |
◆ setCalibration()
Set calibration coefficients from previous calibration run.
The documentation for this class was generated from the following file:
- /home/runner/work/universal/universal/include/sw/universal/utility/pgo_energy.hpp