Verificarlo: Checking Floating Point Accuracy through Monte Carlo Arithmetic

Abstract : Numerical accuracy of floating point computation is a well studied topic which has not made its way to the end-user in scientific computing. Yet, it has become a critical issue with the recent requirements for code modernization to harness new highly parallel hardware and perform higher resolution computation. To democratize numerical accuracy analysis, it is important to propose tools and methodologies to study large use cases in a reliable and automatic way. In this paper, we propose verificarlo, an extension to the LLVM compiler to automatically use Monte Carlo Arithmetic in a transparent way for the end-user. It supports all the major languages including C, C++, and Fortran. Unlike source-to-source approaches, our implementation captures the influence of compiler optimizations on the numerical accuracy. We illustrate how Monte Carlo Arithmetic using the verificarlo tool outperforms the existing approaches on various use cases and is a step toward automatic numerical analysis.
Document type :
Conference papers
Complete list of metadatas

https://hal.uvsq.fr/hal-01417293
Contributor : Pablo de Oliveira Castro <>
Submitted on : Thursday, December 15, 2016 - 3:04:17 PM
Last modification on : Tuesday, July 16, 2019 - 10:06:02 AM

Identifiers

Citation

Christophe Denis, Pablo de Oliveira Castro, Eric Petit. Verificarlo: Checking Floating Point Accuracy through Monte Carlo Arithmetic. 23nd IEEE Symposium on Computer Arithmetic, ARITH 2016, Jul 2016, Silicon Valley, United States. ⟨10.1109/ARITH.2016.31⟩. ⟨hal-01417293⟩

Share

Metrics

Record views

134