Numerical Reproducibility for the Parallel Reduction on Multi- and Many-Core Architectures - Archive ouverte HAL
Pré-Publication, Document De Travail Année : 2015

Numerical Reproducibility for the Parallel Reduction on Multi- and Many-Core Architectures

Résumé

On modern multi-core, many-core, and heterogeneous architectures, floating-point computations, especially reductions, may become non-deterministic and, therefore, non-reproducible mainly due to the non-associativity of floating-point operations. We introduce an approach to compute the correctly rounded sums of large floating-point vectors accurately and efficiently, achieving deterministic results by construction. Our multi-level algorithm consists of two main stages: a filtering stage that relies on fast vectorized floating-point expansions, and an accumulation stage based on superaccumulators in a high-radix carry-save representation. We present implementations on recent Intel desktop and server processors, Intel Xeon Phi accelerators, and both AMD and NVIDIA GPUs. We show that numerical reproducibility and bit-perfect accuracy can be achieved at no additional cost for large sums that have dynamic ranges of up to 90 orders of magnitude by leveraging arithmetic units that are left underused by standard reduction algorithms.
Fichier principal
Vignette du fichier
superaccumulator.pdf (409.09 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-00949355 , version 1 (25-02-2014)
hal-00949355 , version 2 (28-02-2014)
hal-00949355 , version 3 (09-02-2015)
hal-00949355 , version 4 (10-09-2015)

Identifiants

  • HAL Id : hal-00949355 , version 3

Citer

Caroline Collange, David Defour, Stef Graillat, Roman Iakymchuk. Numerical Reproducibility for the Parallel Reduction on Multi- and Many-Core Architectures. 2015. ⟨hal-00949355v3⟩
2446 Consultations
3685 Téléchargements

Partager

More