IEEE Access (Jan 2024)

The Impact of Profiling Versus Static Analysis in Precision Tuning

  • Lev Denisov,
  • Gabriele Magnani,
  • Daniele Cattaneo,
  • Giovanni Agosta,
  • Stefano Cherubin

DOI
https://doi.org/10.1109/ACCESS.2024.3401831
Journal volume & issue
Vol. 12
pp. 69475 – 69487

Abstract

Read online

Approximate computing techniques, such as precision tuning, are widely recognized as key enablers for the next generation of computing systems, where computation quality metrics play an important role. In precision tuning, a trade-off between the accuracy of computations and latency (and/or energy) is established, but identifying the opportunities for applying this approximate computing technique is often challenging. In this article, we compare two different approaches — worst-case static annotation and profile-guided annotation — and their implications when used in a precision tuning framework. To ensure a fair comparison, we implement the profile-guided approach in an existing tool, TAFFO, and experimentally compare it to the original static approach used by the tool. We validate our considerations using the well-known PolyBench/C benchmark suite, and two real-world application case studies. Our findings demonstrate that the profile-guided approach, fed with reasonable profiling data, in addition to needing less expertise to employ, delivers comparable speedup and better accuracy than the static approach.

Keywords