期刊文献+

基于GPU的稀疏矩阵存储格式优化研究 被引量:4

Research on Storage Format Optimization of Sparse Matrix Based on GPU
下载PDF
导出
摘要 稀疏矩阵存储格式中的稀疏矩阵向量乘(SpMV)计算效率低下,且分块行列(BRC)存储格式的计算结果缺少再现性和确定性。为此,提出一种改进的BRCP存储格式。采用不同的二维分块策略,根据矩阵各行非零元素分布的统计特性自适应调节分块参数,提高SpMV在GPU平台上的并行性,并设计基于快速分段求和算法的GPU内核函数,保证计算结果的确定性及其在不同GPU平台上的再现性。实验结果表明,BRCP存储格式具有较高的计算效率,相比BRC存储格式可减少并行环境中的SpMV计算误差,并提高PageRank排序的准确率。 Sparse Matrix-Vector Multiplication(SpMV) calculation in sparse matrix storage format is inefficient,and the computing results of Blocked Row-Column(BRC) storage format lack reproducibility and certainty.To solve the problem,this paper proposes an improved Blocked Row-Column Plus(BRCP) storage format.The BRCP storage format adopts different two-dimensional blocking strategies,adaptively adjusts the blocking parameters according to the statistical characteristics of the distribution of non-zero elements of each row in the matrix,and improves the parallelism of SpMV on the GPU platform.A GPU kernel fuction based on fast segmented summation algorithm is designed to ensure the certainty of calculation results and their reproducibility on different GPU platforms.Experimental results show that the BRCP storage format has high computational efficiency,which reduces the SpMV calculation error in the parallel environment and improves the accuracy of PageRank sorting compared to the BRC storage format.
作者 杨世伟 蒋国平 宋玉蓉 涂潇 YANG Shiwei;JIANG Guoping;SONG Yurong;TU Xiao(School of Computer Science,Nanjing Utniversity of Posts and Telecommunications,Nanjing 210023,China;School of Automation,Nanjing Utniversity of Posts and Telecommunications,Nanjing 210023,China)
出处 《计算机工程》 CAS CSCD 北大核心 2019年第9期23-31,39,共10页 Computer Engineering
基金 国家自然科学基金(61672298,61873326,61373136)
关键词 稀疏矩阵向量乘 计算统一设备架构 图形处理器 存储格式 浮点运算 Sparse Matrix-Vector Multiplication(SpMV) Compute Unified Device Architecture(CUDA) Graphic Processing Unit(GPU) storage format floating-point operation
  • 相关文献

参考文献5

二级参考文献38

  • 1Kelley C T. Iterative Methods for Linear and Nonlinear Equations [M]. Philadelphia, PA: SIAM, 1995.
  • 2The MathWorks Inc. MATLAB and statistics toolbox release 2012b [OL]. 2012. [2013-03-26]. http://www. mathworks, corn/products/statistics/.
  • 3Argonne National Laboratory. PETSc: Portable, extensible toolkit for scientific computation [OL]. 2013. [2013-03-26]. http ://www. mcs. anl. gov/petsc/.
  • 4Sandia National Laboratories. The Trilinos project [OL]. 2013. [-2013-03-26]. http://trilinos, sandia, gov.
  • 5Falgout R D, Yang U M. Hypre: A library of high performance preconditioners [C] //Proc of the 2nd Int Conf on Computational Science. New York: ACM, 2002:632-641.
  • 6Falgout R D. An introduction to algebraic multigrid [J]. Computing in Science and Engineering, 2006, 8(6) : 24-33.
  • 7Buluc A, Williams S, Oliker L, et al. Reduced-bandwidth multithreaded algorithms for sparse matrix-vector multiplication [C] //Proc of the 2011 IEEE Int Parallel Distributed Processing Symp. Piseataway, NJ : IEEE, 2011: 721-733.
  • 8Choi J W, Singh A, Vuduc R W. Model-driven autotuning of sparse matrix-vector multiply on gpus [C] //Proc of the 15th ACM SIGPLAN Syrup on Principles and Practice of Parallel Programming. New York: ACM, 2010:115-126.
  • 9Kourtis K, Karakasis V, Goumas G, et al. CSX: An extended compression format for spmv on shared memory systems [C] //Proc of the 16th ACM Syrup on Principles and Practice of Parallel Programming. New York: ACM, 2011: 247-256.
  • 10Su B Y, Keutzer K. clSpMV: A cross platform OpenCL SpMV framework on GPUs [C] //Proc of the 26th ACM Int Conf on Supercomputing. New York: ACM, 2012:353-364.

共引文献30

同被引文献22

引证文献4

二级引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部