Performance portability of sparse matrix–vector multiplication implemented using OpenMP, OpenACC and SYCL

The aim of this paper is to study the performance portability of OpenMP, OpenACC and SYCL implementations of sparse matrix–vector product (SpMV) and its extended version in which the dot product of the input vector and the result is also calculated, for CSR and BSR storage formats, on Intel and AMD CPUs and NVIDIA GPU platforms. We compare it with the performance portability of much more sophisticated implementations provided by the vendors in their Intel oneAPI MKL and NVIDIA cuSPARSE libraries. Using the reformulated performance portability metric we show how it changes for various sparse matrices and which portable implementation and format achieve better performance portability. Numerical experiments show that the considered portable implementations for the CSR format usually achieve better performance than for the BSR format. On GPU, CSR OpenACC implementations for SpMV and SpMV-DOT tend to be the best. On CPU, CSR OpenMP implementation usually gives the best results for SpMV-DOT, while CSR OpenMP and BSR MKL achieve the best results for a similar number of matrices. • Portable implementations of SpMV and SpMV-DOT in OpenMP, OpenACC and SYCL. • The use of reformulated performance portability metric to compare efficiency of portable implementations on CPU and GPU platforms. • Comparison of the performance of portable implementations with their counterparts from Intel oneAPI MKL and NVIDIA cuSPARSE libraries. • In some cases, portable implementations perform better than those provided by vendors. • Analysis of the impact of matrix size and shape on the performance of portable implementations.

Authors

Institutions

Publication Details

Journal
Future Generation Computer Systems
Published
2025-03-30
DOI
https://doi.org/10.1016/j.future.2025.107825
Citations
1
Primary Topic
Parallel Computing and Optimization Techniques
Type
article
Field-Weighted Citation Impact
2.27
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Performance portability of sparse matrix–vector multiplication implemented using OpenMP, OpenACC and SYCL

Przemysław Stpiczyński, Kinga Stec
1 citations
Future Generation Computer Systems
Parallel Computing and Optimization Techniques
2.27
article

Performance portability of sparse matrix–vector multiplication implemented using OpenMP, OpenACC and SYCL

Przemysław Stpiczyński, Kinga Stec
article en
1 citations

Abstract

The aim of this paper is to study the performance portability of OpenMP, OpenACC and SYCL implementations of sparse matrix–vector product (SpMV) and its extended version in which the dot product of the input vector and the result is also calculated, for CSR and BSR storage formats, on Intel and AMD CPUs and NVIDIA GPU platforms. We compare it with the performance portability of much more sophisticated implementations provided by the vendors in their Intel oneAPI MKL and NVIDIA cuSPARSE libraries. Using the reformulated performance portability metric we show how it changes for various sparse matrices and which portable implementation and format achieve better performance portability. Numerical experiments show that the considered portable implementations for the CSR format usually achieve better performance than for the BSR format. On GPU, CSR OpenACC implementations for SpMV and SpMV-DOT tend to be the best. On CPU, CSR OpenMP implementation usually gives the best results for SpMV-DOT, while CSR OpenMP and BSR MKL achieve the best results for a similar number of matrices. • Portable implementations of SpMV and SpMV-DOT in OpenMP, OpenACC and SYCL. • The use of reformulated performance portability metric to compare efficiency of portable implementations on CPU and GPU platforms. • Comparison of the performance of portable implementations with their counterparts from Intel oneAPI MKL and NVIDIA cuSPARSE libraries. • In some cases, portable implementations perform better than those provided by vendors. • Analysis of the impact of matrix size and shape on the performance of portable implementations.

Future Generation Computer SystemsVol. 170
Maria Curie-Skłodowska University (PL)
Openalex Percentile: Top 17%
Parallel Computing and Optimization Techniques
2.27
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Performance portability of sparse matrix–vector multiplication implemented using OpenMP, OpenACC and SYCL — Przemysław Stpiczyński, Kinga Stec · Future Generation Computer Systems (2025) | TGRS Research Map | TGRS