Towards an auto-tuned and task-based SpMV (LASs Library)
dc.contributor.author | Catalán Pallarés, Sandra |
dc.contributor.author | Usui, Tetsuzo |
dc.contributor.author | Toledo, Leonel |
dc.contributor.author | Martorell Bofill, Xavier |
dc.contributor.author | Labarta Mancho, Jesús José |
dc.contributor.author | Valero Lara, Pedro |
dc.contributor.other | Universitat Politècnica de Catalunya. Departament d'Arquitectura de Computadors |
dc.contributor.other | Barcelona Supercomputing Center |
dc.date.accessioned | 2020-10-20T07:25:46Z |
dc.date.available | 2020-10-20T07:25:46Z |
dc.date.issued | 2020 |
dc.identifier.citation | Catalán, S. [et al.]. Towards an auto-tuned and task-based SpMV (LASs Library). A: International Workshop on OpenMP. "OpenMP: Portable Multi-Level Parallelism on Modern Systems, 16th International Workshop on OpenMP, IWOMP 2020: Austin, TX, USA, September 22–24, 2020: proceedings". Berlín: Springer, 2020, p. 115-129. ISBN 978-3-030-58144-2. DOI 10.1007/978-3-030-58144-2_8. |
dc.identifier.isbn | 978-3-030-58144-2 |
dc.identifier.uri | http://hdl.handle.net/2117/330455 |
dc.description.abstract | We present a novel approach to parallelize the SpMV kernel included in LASs (Linear Algebra routines on OmpSs) library, after a deep review and analysis of several well-known approaches. LASs is based on OmpSs, a task-based runtime that extends OpenMP directives, providing more flexibility to apply new strategies. Based on tasking and nesting, with the aim of improving the workload imbalance inherent to the SpMV operation, we present a strategy especially useful for highly imbalanced input matrices. In this approach, the number of created tasks is dynamically decided in order to maximize the use of the resources of the platform. Throughout this paper, SpMV behavior depending on the selected strategy (state of the art and proposed strategies) is deeply analyzed, setting in this way the base for a future auto-tunable code that is able to select the most suitable approach depending on the input matrix. The experiments of this work were carried out for a set of 12 matrices from the Suite Sparse Matrix Collection, all of them with different characteristics regarding their sparsity. The experiments of this work were performed on a node of Marenostrum 4 supercomputer (with two sockets Intel Xeon, 24 cores each) and on a node of Dibona cluster (using one ARM ThunderX2 socket with 32 cores). Our tests show that, for Intel Xeon, the best parallelization strategy reduces the execution time of the reference MKL multi-threaded version up to 67%. On ARM ThunderX2, the reduction is up to 56% with respect to the OmpSs parallel reference. |
dc.description.sponsorship | This project has received funding from the Spanish Ministry of Economy and Competitiveness under the project Computación de Altas Prestaciones VII (TIN2015- 65316-P), the Departament d’Innovació, Universitats i Empresa de la Generalitat de Catalunya, under project MPEXPAR: Models de Programació i Entorns d’Execució Parallels (2014-SGR-1051), and the Juan de la Cierva Grant Agreement No IJCI-2017- 33511, and the Spanish Ministry of Science and Innovation under the project Heterogeneidad y especialización en la era post-Moore (RTI2018-093684-BI00). We also acknowledge the funding provided by Fujitsu under the BSC-Fujitsu joint project: Math Libraries Migration and Optimization |
dc.format.extent | 15 p. |
dc.language.iso | eng |
dc.publisher | Springer |
dc.subject | Àrees temàtiques de la UPC::Informàtica::Arquitectura de computadors |
dc.subject.lcsh | Graphics processing units |
dc.subject.lcsh | Parallel programming (Computer science) |
dc.subject.other | SpMV |
dc.subject.other | Tasking |
dc.subject.other | Auto-tuning |
dc.subject.other | Taskloop |
dc.subject.other | Nesting |
dc.subject.other | LASs OmpSs |
dc.title | Towards an auto-tuned and task-based SpMV (LASs Library) |
dc.type | Conference report |
dc.subject.lemac | Unitats de processament gràfic |
dc.subject.lemac | Programació en paral·lel (Informàtica) |
dc.contributor.group | Universitat Politècnica de Catalunya. CAP - Grup de Computació d'Altes Prestacions |
dc.identifier.doi | 10.1007/978-3-030-58144-2_8 |
dc.description.peerreviewed | Peer Reviewed |
dc.relation.publisherversion | https://link.springer.com/chapter/10.1007/978-3-030-58144-2_8 |
dc.rights.access | Open Access |
local.identifier.drac | 29519631 |
dc.description.version | Postprint (author's final draft) |
dc.relation.projectid | info:eu-repo/grantAgreement/MINECO/1PE/TIN2015-65316-P |
dc.relation.projectid | info:eu-repo/grantAgreement/AGAUR/V PRI/2014 SGR 1051 |
local.citation.author | Catalán, S.; Usui, T.; Toledo, L.; Martorell, X.; Labarta, J.; Valero-Lara, P. |
local.citation.contributor | International Workshop on OpenMP |
local.citation.pubplace | Berlín |
local.citation.publicationName | OpenMP: Portable Multi-Level Parallelism on Modern Systems, 16th International Workshop on OpenMP, IWOMP 2020: Austin, TX, USA, September 22–24, 2020: proceedings |
local.citation.startingPage | 115 |
local.citation.endingPage | 129 |
Files in this item
This item appears in the following Collection(s)
All rights reserved. This work is protected by the corresponding intellectual and industrial
property rights. Without prejudice to any existing legal exemptions, reproduction, distribution, public
communication or transformation of this work are prohibited without permission of the copyright holder