2013 · 267 citations · 19 references
ComputingComputer ScienceParallel ComputingProgramming LanguagesScientific ComputingNumerical AnalysisStatic AnalysisType CheckingAccuracyDynamic Program AnalysisFloating-point ArithmeticFloating-point TypesPrecisionProgram Performance AssessmentProgram Performance EvaluationProgram Performance Measurement
Given the variety of numerical errors that can occur, floating-point programs are difficult to write, test and debug. One common practice employed by developers without an advanced background in numerical analysis is using the highest available precision. While more robust, this can degrade program performance significantly. In this paper we present Precimonious, a dynamic program analysis tool to assist developers in tuning the precision of floating-point programs. Precimonious performs a search on the types of the floating-point program variables trying to lower their precision subject to accuracy constraints and performance goals. Our tool recommends a type instantiation that uses lower precision while producing an accurate enough answer without causing exceptions. We evaluate Precimonious on several widely used functions from the GNU Scientific Library, two NAS Parallel Benchmarks, and three other numerical programs. For most of the programs analyzed, Precimonious reduces precision, which results in performance improvements as high as 41%.
19
Koushik Sen, Darko Marinov, Gul Agha · 2005 · 1.7K citations
SPIRAL: Code Generation for DSP Transforms
Markus Püschel, José M. F. Moura, Jeremy Johnson et al. · Proceedings of the IEEE · 2005 · 829 citations