Floating-point precision tuning using blame analysis
Authors:
Open Access
- 14 May 2016
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1074-1085
Abstract
While tremendously useful, automated techniques for tuning the precision of floating-point programs face important scalability challenges. We present Blame Analysis, a novel dynamic approach that speeds up precision tuning. Blame Analysis performs floating-point instructions using different levels of accuracy for their operands. The analysis determines the precision of all operands such that a given precision is achieved in the final result of the program. Our evaluation on ten scientific programs shows that Blame Analysis is successful in lowering operand precision. As it executes the program only once, the analysis is particularly useful when targeting reductions in execution time. In such case, the analysis needs to be combined with search-based tools such as Precimonious. Our experiments show that combining Blame Analysis with Precimonious leads to obtaining better results with significant reduction in analysis time: the optimized programs execute faster (in three cases, we observe as high as 39.9% program speedup) and the combined analysis time is 9x faster on average, and up to 38x faster than Precimonious alone.Keywords
Funding Information
- U.S. Department of Energy (DE-SC0008699,DE-SC0010200)
- Defense Advanced Research Projects Agency (HR0011-12-2-0016)
This publication has 40 references indexed in Scilit:
- Self-adaptive Multiprecision Preconditioners on Multicore and Manycore Architectures2015
- Dynamic floating-point cancellation detectionParallel Computing, 2012
- Accelerating scientific computations with mixed precision algorithmsComputer Physics Communications, 2009
- Towards an Industrial Use of FLUCTUAT on Safety-Critical Avionics Software2009
- Using Mixed Precision for Sparse Matrix Computations to Enhance the Performance while Achieving 64-bit AccuracyACM Transactions on Mathematical Software, 2008
- Mixed Precision Iterative Refinement Techniques for the Solution of Dense Linear SystemsThe International Journal of High Performance Computing Applications, 2007
- High-precision floating-point arithmetic in scientific computationComputing in Science & Engineering, 2005
- OSKI: A library of automatically tuned sparse matrix kernelsJournal of Physics: Conference Series, 2005
- Simplifying and isolating failure-inducing inputIEEE Transactions on Software Engineering, 2002
- Design, implementation and testing of extended and mixed precision BLASACM Transactions on Mathematical Software, 2002