Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
Loading...
Searching...
No Matches
autotuner.hpp File Reference
#include <iomanip>
#include <string>
#include <vector>
#include <functional>
#include <chrono>
#include <cmath>
#include <algorithm>
#include <type_traits>
#include <random>
#include <limits>
#include <universal/number/cfloat/cfloat.hpp>
#include <universal/number/posit/posit.hpp>
#include <universal/utility/occurrence.hpp>
#include <universal/energy/energy.hpp>

Classes

struct  sw::universal::TuningPoint
 Result of tuning a single precision configuration. More...
struct  sw::universal::AutotuneResult
 Complete result of autotuning a kernel. More...
class  sw::universal::Autotuner
 Autotuner for precision selection. More...

Namespaces

namespace  sw
 required std libraries
namespace  sw::universal

Functions

AutotuneResult sw::universal::autotuneSqrt (double accuracy_req=1e-4, double energy_budget=0.5)
 Convenience function to autotune a sqrt-like unary function.
AutotuneResult sw::universal::autotuneExp (double accuracy_req=1e-4, double energy_budget=0.5)
 Convenience function to autotune an exp-like unary function.
AutotuneResult sw::universal::autotuneLog (double accuracy_req=1e-4, double energy_budget=0.5)
 Convenience function to autotune a log-like unary function.
AutotuneResult sw::universal::autotuneSum (size_t vector_size=1000, double accuracy_req=1e-4, double energy_budget=0.5)
 Convenience function to autotune a sum reduction.