arrow
返回

OpSparse: A Highly Optimized Framework for Sparse General Matrix Multiplication on GPUs

delete2022-01-01
delete3
delete
OA
AI
Z
Zhaoyang Du *
Y
Yijin Guan
T
Tianchan Guan
D
Dimin Niu
L
Linyong Huang
H
Hongzhong Zheng
Y
Yuan Xie
DOI:10.1109/ACCESS.2022.3196940delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Sparse general matrix multiplication (SpGEMM) is an important and expensive computation primitive in many real-world applications. Due to SpGEMM's inherent irregularity and the vast diversity of its input matrices, developing high-performance SpGEMM implementation on modern processors such as GPUs is challenging. The state-of-the-art SpGEMM libraries (i.e., nsparse and spECK ) adopt several algorithms to tackle the challenges of global load balance, local load balance, and allocation of the result matrix. While these libraries focus on the high-level algorithm design for SpGEMM, they neglect several low-level architecture-specific optimizations, which causes inefficient implementations in their libraries. In this paper, we classify their inefficient implementations into several categories. Based on our observations, we propose a highly optimized SpGEMM library called OpSparse . The optimizations in OpSparse include 1) optimizing the binning method by improving the utilization of the shared memory, 2) optimizing the hashing method by reducing the accesses to the hash tables, 3) improving the trade-off between hash collision rate and hardware utilization in the hashing method by setting appropriate binning ranges, 4) reducing the overheads of global memory utilization by minimizing the global memory usage of the metadata, and 5) improving the execution parallelism by overlapping global memory allocation with kernel execution. Performance evaluations with 26 commonly used matrices on an Nvidia Tesla V100 GPU show that OpSparse achieves on average 7.35x (up to 27.8x ), 1.43x (up to 1.81x ), and 1.52x (up to 2.04x ) speedups over three state-of-the-art SpGEMM libraries: cuSPARSE , nsparse , and spECK , respectively.
Keyword:
Sparse general matrix multiplication
SpGEMM
GPU
high-performance computing

期刊

IEEE Access 封面图
IEEE Access
IF:
3.6
论文数:
9.8W
被引数:
29.4W

机构

A
alibaba group
学者数:
1.1K
论文数: 789
被引数: 0
Z
zhejiang university
学者数:
17.7W
论文数: 12.1W
被引数: 152
引用论文

引用论文

Prolonged electrophysiological maturation of transplanted hippocampal neurons
err1990-08-01
err0
PREAI
errLori A. Mudrick; Jasmine Stabel; Roland S.G. Jones; Uwe Heinemann
err分享
err收藏
Gut Microbiome and Sex Bias in Autism Spectrum Disorders
err2020-01-13
err0
PREAI
errAfaf El-Ansary; Ramesa Shafi Bhat; Naima Zayed
err分享
err收藏
The measurement of acetylcholine turnover rate in brain structures
err1976-12-01
err0
PREAI
errG. Racagni; D.L. Cheney; G. Zsilla; E. Costa
err分享
err收藏
学者 查看更多内容