Load-balancing Sparse Matrix Vector Product Kernels on GPUs

Author:

Anzt Hartwig1,Cojean Terry2,Yen-Chen Chen3,Dongarra Jack4,Flegar Goran5,Nayak Pratik2,Tomov Stanimire6,Tsai Yuhsiang M.3,Wang Weichung3

Affiliation:

1. Karlsruhe Institute of Technology, Germany and University of Tennessee, USA

2. Karlsruhe Institute of Technology, Germany

3. National Taiwan University, Taiwan

4. University of Tennessee, Oak Ridge National Lab, and University of Manchester, UK

5. University of Jaume I, Spain

6. University of Tennessee, USA

Abstract

Efficient processing of Irregular Matrices on Single Instruction, Multiple Data (SIMD)-type architectures is a persistent challenge. Resolving it requires innovations in the development of data formats, computational techniques, and implementations that strike a balance between thread divergence, which is inherent for Irregular Matrices, and padding, which alleviates the performance-detrimental thread divergence but introduces artificial overheads. To this end, in this article, we address the challenge of designing high performance sparse matrix-vector product (S p MV) kernels designed for Nvidia Graphics Processing Units (GPUs). We present a compressed sparse row (CSR) format suitable for unbalanced matrices. We also provide a load-balancing kernel for the coordinate (COO) matrix format and extend it to a hybrid algorithm that stores part of the matrix in SIMD-friendly Ellpack format (ELL) format. The ratio between the ELL- and the COO-part is determined using a theoretical analysis of the nonzeros-per-row distribution. For the over 2,800 test matrices available in the Suite Sparse matrix collection, we compare the performance against S p MV kernels provided by NVIDIA’s cuSPARSE library and a heavily-tuned sliced ELL (SELL-P) kernel that prevents unnecessary padding by considering the irregular matrices as a combination of matrix blocks stored in ELL format.

Funder

Helmholtz Association

U.S. Department of Energy

Publisher

Association for Computing Machinery (ACM)

Subject

Computational Theory and Mathematics,Computer Science Applications,Hardware and Architecture,Modelling and Simulation,Software

Reference30 articles.

Cited by 25 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Revisiting thread configuration of SpMV kernels on GPU: A machine learning based approach;Journal of Parallel and Distributed Computing;2024-03

2. HASpMV: Heterogeneity-Aware Sparse Matrix-Vector Multiplication on Modern Asymmetric Multicore Processors;2023 IEEE International Conference on Cluster Computing (CLUSTER);2023-10-31

3. Connectivity-Aware Link Analysis for Skewed Graphs;Proceedings of the 52nd International Conference on Parallel Processing;2023-08-07

4. A Heterogeneous Parallel Computing Approach Optimizing SpTTM on CPU-GPU via GCN;ACM Transactions on Parallel Computing;2023-06-20

5. On Higher-performance Sparse Tensor Transposition;2023 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW);2023-05

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3