Skip to Main content Skip to Navigation
Conference papers

Reproducible and Accurate Matrix Multiplication

Roman Iakymchuk 1, 2 David Defour 3 Sylvain Collange 4 Stef Graillat 2
2 PEQUAN - Performance et Qualité des Algorithmes Numériques
LIP6 - Laboratoire d'Informatique de Paris 6
3 DALI - Digits, Architectures et Logiciels Informatiques
LIRMM - Laboratoire d'Informatique de Robotique et de Microélectronique de Montpellier, UPVD - Université de Perpignan Via Domitia
4 PACAP - Pushing Architecture and Compilation for Application Performance
IRISA-D3 - ARCHITECTURE, Inria Rennes – Bretagne Atlantique
Abstract : Due to non-associativity of floating-point operations and dynamic scheduling on parallel architectures, getting a bit-wise reproducible floating-point result for multiple executions of the same code on different or even similar parallel architectures is challenging. In this paper, we address the problem of reproducibility in the context of matrix multiplication and propose an algorithm that yields both reproducible and accurate results. This algorithm is composed of two main stages: a filtering stage that uses fast vectorized floating-point expansions in conjunction with error-free transformations; an accumulation stage based on Kulisch long accumulators in a high-radix carry-save representation. Finally, we provide implementations and performance results in parallel environments like GPUs.
Complete list of metadatas

Cited literature [17 references]  Display  Hide  Download

https://hal.archives-ouvertes.fr/hal-01539180
Contributor : Stef Graillat <>
Submitted on : Thursday, May 30, 2019 - 10:11:31 AM
Last modification on : Wednesday, April 8, 2020 - 4:01:25 PM

File

IDCG16.pdf
Publisher files allowed on an open archive

Identifiers

Citation

Roman Iakymchuk, David Defour, Sylvain Collange, Stef Graillat. Reproducible and Accurate Matrix Multiplication. SCAN: Scientific Computing, Computer Arithmetic and Validated Numerics, Sep 2014, Wurzburg, Germany. pp.126-137, ⟨10.1007/978-3-319-31769-4_11⟩. ⟨hal-01539180⟩

Share

Metrics

Record views

668

Files downloads

159