Static Analysis by Abstract Interpretation of the Functional Correctness of Matrix Manipulating Programs - Archive ouverte HAL
Communication Dans Un Congrès Année : 2016

Static Analysis by Abstract Interpretation of the Functional Correctness of Matrix Manipulating Programs

Matthieu Journault
  • Fonction : Auteur
  • PersonId : 988205
Antoine Miné

Résumé

We present new abstract domains to prove automatically the functional correctness of algorithms implementing matrix operations, such as matrix addition, multiplication, GEMM (general matrix multiplication), or more generally BLAS (Basic Linear Algebra Subprograms). In order to do so, we introduce a family of abstract domains parameter-ized by a set of matrix predicates and by a numeric domain. We show that our analysis is robust enough to prove the functional correctness of several versions of matrix addition and multiplication codes resulting from loop reordering, loop tiling, inverting the iteration order, line swapping, and expression decomposition. Finally, we extend our method to enable modular analysis on code fragments manipulating matrices by reference, and show that it results in a significant analysis speedup.
Fichier principal
Vignette du fichier
article-journault-al-sas16.pdf (447.17 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01360556 , version 1 (06-09-2016)

Identifiants

Citer

Matthieu Journault, Antoine Miné. Static Analysis by Abstract Interpretation of the Functional Correctness of Matrix Manipulating Programs. 23rd Static Analysis Symposium (SAS), Sep 2016, Edimbourg, United Kingdom. pp.257-277, ⟨10.1007/978-3-662-53413-7_13⟩. ⟨hal-01360556⟩
348 Consultations
224 Téléchargements

Altmetric

Partager

More