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

Algorithm characteristics for memory-aware precision selection This is a lightweight struct for Pareto analysis, distinct from the more comprehensive AlgorithmProfile in algorithm_profiler.hpp. More...

#include <pareto_explorer.hpp>

Public Member Functions

 AlgorithmCharacteristics ()
 AlgorithmCharacteristics (const std::string &n, double ai, double ws_bytes=0, double bw_gbps=100.0)

Public Attributes

std::string name
double arithmetic_intensity
double working_set_bytes
double available_bandwidth_gbps
bool is_memory_bound

Detailed Description

Algorithm characteristics for memory-aware precision selection This is a lightweight struct for Pareto analysis, distinct from the more comprehensive AlgorithmProfile in algorithm_profiler.hpp.

Constructor & Destructor Documentation

◆ AlgorithmCharacteristics() [1/2]

sw::universal::AlgorithmCharacteristics::AlgorithmCharacteristics ( )
inline

◆ AlgorithmCharacteristics() [2/2]

sw::universal::AlgorithmCharacteristics::AlgorithmCharacteristics ( const std::string & n,
double ai,
double ws_bytes = 0,
double bw_gbps = 100.0 )
inline

Member Data Documentation

◆ arithmetic_intensity

double sw::universal::AlgorithmCharacteristics::arithmetic_intensity

◆ available_bandwidth_gbps

double sw::universal::AlgorithmCharacteristics::available_bandwidth_gbps

◆ is_memory_bound

bool sw::universal::AlgorithmCharacteristics::is_memory_bound

◆ name

std::string sw::universal::AlgorithmCharacteristics::name

◆ working_set_bytes

double sw::universal::AlgorithmCharacteristics::working_set_bytes

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