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::ModelValidator::ValidationResult Struct Reference

Validate model for a specific operation. More...

#include <pgo_energy.hpp>

Public Attributes

std::string operation
unsigned bit_width
double predicted_pj_per_op
double measured_pj_per_op
double error_percent
bool within_tolerance

Detailed Description

Validate model for a specific operation.

Member Data Documentation

◆ bit_width

unsigned sw::universal::ModelValidator::ValidationResult::bit_width

◆ error_percent

double sw::universal::ModelValidator::ValidationResult::error_percent

◆ measured_pj_per_op

double sw::universal::ModelValidator::ValidationResult::measured_pj_per_op

◆ operation

std::string sw::universal::ModelValidator::ValidationResult::operation

◆ predicted_pj_per_op

double sw::universal::ModelValidator::ValidationResult::predicted_pj_per_op

◆ within_tolerance

bool sw::universal::ModelValidator::ValidationResult::within_tolerance

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