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.
Liste complète des métadonnées
Contributeur : Pablo De Oliveira Castro <>
Soumis le : mercredi 7 novembre 2018 - 14:27:22
Dernière modification le : mercredi 23 janvier 2019 - 14:39:30
Document(s) archivé(s) le : vendredi 8 février 2019 - 14:41:37


Fichiers produits par l'(les) auteur(s)


  • HAL Id : hal-01192668, version 4
  • ARXIV : 1509.01347


Christophe Denis, Pablo De Oliveira Castro, Eric Petit. Verificarlo: checking floating point accuracy through Monte Carlo Arithmetic. 2015. 〈hal-01192668v4〉



Consultations de la notice


Téléchargements de fichiers