A segment‐based sparse matrix–vector multiplication on CUDA

Xiaowen Feng, Hai Jin, Ran Zheng, Zhiyuan Shao, Lei Zhu · Concurrency and Computation Practice and Experience · 2012

SUMMARY The challenge forSparse Matrix–Vector multiplication(SpMV) performance is memory bandwidth, which mostly depends on input matrices and underlying computing platforms. To solve this challenge, many researchers have explored a variety of optimization techniques. One of the most promising aspects focuses on designing storage formats to represent sparse matrices. However, lots of prior storage formats cannot fully take advantage of the underlying computing platforms, resulting in unsatisfactory performance and large memory footprint. Therefore, a novel storage format, calledSegmented Hybrid ELL + Compressed Sparse Row (CSR)(SHEC for short), is proposed to further improve the throughput and lessen memory footprint onGraphics Processing Unit(GPU). SHEC format employs an interleaved combination pattern, which combines certain amount of compressed rows to form a new SHEC row. Segmentation is brought in to balance load and reduce memory footprint. According to the empirical data, an automatic SHEC‐based SpMV is developed to fit for all the matrices. Experimental results show that SHEC approach outperforms the best results of NVIDIA SpMV library and exhibits a comparable performance with state‐of‐the‐art storage formats on the standard dataset. Copyright © 2012 John Wiley & Sons, Ltd.

Read the paper · More papers on PaperTik