• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2016, Vol. 38 ›› Issue (02): 202-209.

• 论文 • Previous Articles     Next Articles

Implementation and optimization of HYB based SpMV
on CPU+GPU heterogeneous computing systems  

YANG Wangdong1,2,LI Kenli2   

  1. (1.School of Information Science and Engineering,Hunan City University,Yiyang 413000;
    2.College of Information Science and Engineering,Hunan University,Changsha 410008,China)
  • Received:2015-04-10 Revised:2015-06-05 Online:2016-02-25 Published:2016-02-25

Abstract:

Sparse matrix vector multiplication (SpMV) is an important issue in solving sparse linear systems. The sparse features and the low computing density lead to low computation efficiency. Regarding the irregularities of the sparse matrixes, some hybrid storage formats are used to compute SpMV to improve the compression efficiency and expand the range of adaptation.  HYB is a hybrid compression format of ELL and COO formats, and is widely used on SpMV because of its stable performance. With the common application of parallel computing on GPUs and multicore CPUs, the heterogeneous computing system based on CPU+GPU is accepted. The ELL of HYB is assigned to the GPU for processing and the COO of HYB is assigned to the CPU, which can take full advantages of both CPU and GPU computing resources to improve the utilization efficiency of computing resources. In this paper, based on the analysis of the characteristics of the CPU + GPU heterogeneous computing model, we propose some optimization strategies to improve the performance of SpMV in the heterogeneous computing environment.

Key words: GPU;sparse matrix;SpMV;CUDA;heterogeneous computing