Profile-Guided Energy Calibrator Uses RAPL measurements to calibrate energy models.
More...
|
| | PGOCalibrator () |
| | PGOCalibrator (const energy::EnergyCostModel &model) |
| CalibrationStats | calibrate (const std::string &kernel_name, Kernel kernel, uint64_t ops_per_iteration, energy::Operation op_type, energy::BitWidth bit_width, size_t iterations=100, size_t warmup=10) |
| | Run calibration for a specific kernel Returns calibration statistics.
|
| template<typename Func> |
| CalibrationStats | calibrateMultiple (const std::string &name, Func &&kernel_factory, const std::vector< energy::BitWidth > &widths, uint64_t ops_per_call, size_t iterations=50) |
| | Calibrate with multiple precisions/operations.
|
| CalibrationCoefficients | learnCoefficients (const CalibrationStats &stats) |
| | Learn calibration coefficients from measurements.
|
| const energy::EnergyCostModel & | model () const |
| | Get the energy model being used.
|
Profile-Guided Energy Calibrator Uses RAPL measurements to calibrate energy models.