~/talk

Choosing Mathematical Function Implementations for Speed and Accuracy

Talkat PLDI 2022 · 2022-06-13..06-17· [compilers-and-language-design]

A tool named optuner selects among 45 cosine and 49 sine implementations (about 4.8 million configurations) by building a linear error model from Taylor expansions, a simple additive cost model, and encoding a multiobjective ILP solved with Z3 to extract the Pareto frontier. Evaluation uses 36 FPBench-derived kernels (avg run 5 minutes, worst 30) and a ray tracer case where glibc costs 27 ns per photon, a table lookup 12.7 ns, and the chosen configuration runs 10.85 ns while producing bit-for-bit equal images to glibc.

AI-written summary · about

  1. 0:00Start
  2. 3:33POV-Ray hand rolled code
  3. 6:13OpTuner Input
  4. 6:53Modeling Error and Speed
  5. 9:37Error Taylor Series
  6. 10:06Linear Cost Model
  7. 13:37Benchmark Results
  8. 14:33What about ray tracing?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.