The Armadillo C++ library provides programmers with a high-level Matlab-like syntax for linear algebra. Its design aims at providing a good balance between speed and ease of use. It can be linked with different back-ends, i.e. different LAPACK-compliant libraries. In this work we present a novel run-time support of Armadillo, which gracefully extends mainstream implementation to enable back-end switching without recompilation and multiple back-end support. The extension is specifically designed to not affect Armadillo class template prototypes, thus to be easily interoperable with future evolutions of the Armadillo library itself. The proposed software stack is then tested for functionality and performance against a kernel code extracted from an industrial application.

Multiple back-end support for the Armadillo linear algebra interface

VIVIANI, PAOLO;ALDINUCCI, MARCO;
2017-01-01

Abstract

The Armadillo C++ library provides programmers with a high-level Matlab-like syntax for linear algebra. Its design aims at providing a good balance between speed and ease of use. It can be linked with different back-ends, i.e. different LAPACK-compliant libraries. In this work we present a novel run-time support of Armadillo, which gracefully extends mainstream implementation to enable back-end switching without recompilation and multiple back-end support. The extension is specifically designed to not affect Armadillo class template prototypes, thus to be easily interoperable with future evolutions of the Armadillo library itself. The proposed software stack is then tested for functionality and performance against a kernel code extracted from an industrial application.
2017
The 32nd ACM Symposium on Applied Computing
Marrakesh, Marocco
April 3-6, 2017
In proc. of the 32nd ACM Symposium on Applied Computing (SAC)
ACM
1566
1573
978-1-4503-4486-9
nvidia, repara, rephrase, itea2
Viviani, Paolo; Aldinucci, Marco; Torquati, Massimo; d'Ippolito, Roberto
File in questo prodotto:
File Dimensione Formato  
armadillo_4aperto.pdf

Accesso aperto

Dimensione 552.44 kB
Formato Adobe PDF
552.44 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2318/1626229
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 3
  • ???jsp.display-item.citation.isi??? ND
social impact