EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Level-Based Blocking for Sparse Matrices: Sparse Matrix-Power-Vector Multiplication

Christie Alappat, Georg Hager, Olaf Schenk, Gerhard Wellein

IEEE Transactions on Parallel and Distributed Systems · 01.02.2023 · 34 (2) · 581-597

DOI: 10.1109/tpds.2022.3223512 ↗

Kurz gefasst

Fachartikel in der Zeitschrift IEEE Transactions on Parallel and Distributed Systems, erschienen am 01.02.2023. Verfasst von Christie Alappat und 3 weiteren Autor:innen. Die Arbeit wurde bisher 14-mal zitiert (Crossref) und nennt 51 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: NHR@FAU, State of Bavaria, German Federal Ministry of Education and Research.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

The multiplication of a sparse matrix with a dense vector (SpMV) is a key component in many numerical schemes and its performance is known to be severely limited by main memory access. Several numerical schemes require the multiplication of a sparse matrix polynomial with a dense vector which is typically implemented as a sequence of SpMVs. This results in low performance and ignores the potential to increase the arithmetic intensity by reusing the matrix data from cache. In this work we use the recursive algebraic coloring engine (RACE) to enable blocking of sparse matrix data across the polynomial computations. In the graph representing the sparse matrix we form levels using a breadth-first search. Locality relations of these levels are then used to improve spatial and temporal locality when accessing the matrix data and to implement an efficient multithreaded parallelization. Our approach is independent of the matrix structure and avoids shortcomings of existing “blocking” strategies in terms of hardware efficiency and parallelization overhead. We quantify the quality of our implementation using performance modelling and demonstrate speedups of up to 3× and 5× compared to an optimal SpMV-based baseline on a single multicore chip of recent Intel and AMD architectures. Various numerical schemes like $s$ s -step Krylov solvers, polynomial preconditioners and power clustering algorithms will benefit from our development.

Förderung

  • NHR@FAU
  • State of Bavaria
  • German Federal Ministry of Education and Research

Zitieren

APA

Alappat, C., Hager, G., Schenk, O., & Wellein, G. (2023). Level-Based Blocking for Sparse Matrices: Sparse Matrix-Power-Vector Multiplication. IEEE Transactions on Parallel and Distributed Systems, 34(2), 581-597. https://doi.org/10.1109/tpds.2022.3223512

Vancouver

Alappat C, Hager G, Schenk O, Wellein G. Level-Based Blocking for Sparse Matrices: Sparse Matrix-Power-Vector Multiplication. IEEE Transactions on Parallel and Distributed Systems. 2023;34(2):581-597. doi:10.1109/tpds.2022.3223512

BibTeX
@article{Alappat2023,
  author = {Alappat, Christie and Hager, Georg and Schenk, Olaf and Wellein, Gerhard},
  title = {Level-Based Blocking for Sparse Matrices: Sparse Matrix-Power-Vector Multiplication},
  journal = {IEEE Transactions on Parallel and Distributed Systems},
  year = {2023},
  volume = {34},
  number = {2},
  pages = {581--597},
  doi = {10.1109/tpds.2022.3223512}
}
Kostenlos starten →