首页 | 本学科首页   官方微博 | 高级检索  
     

基于分块存储格式的稀疏线性系统求解优化
引用本文:程凯,田瑾,吴飞,汪茹,李洪芹.基于分块存储格式的稀疏线性系统求解优化[J].计算机应用研究,2019,36(11).
作者姓名:程凯  田瑾  吴飞  汪茹  李洪芹
作者单位:上海工程技术大学电子电气工程学院,上海,201620
基金项目:国家自然科学基金资助项目(61272097);上海市自然科学基金资助项目(15ZR1418900)
摘    要:针对基于GPU求解大规模稀疏线性方程组进行了研究,提出一种稀疏矩阵的分块存储格式HMEC(hybrid multiple ELL and CSR)。通过重排序优化系数矩阵的存储结构,将系数矩阵以一定的比例分块存储,采用ELL与CSR存储格式相结合的方式以适应不同的分块特征,分别使用适用于不对称矩阵的不完全LU分解预处理BICGStab法和对称正定矩阵的不完全Cholesky分解预处理共轭梯度法求解大规模稀疏线性系统。实验表明,应用HMEC格式存储稀疏矩阵并以调用GPU kernel的方式实现前述两种方法,与其他存储格式的实现方式作比较,最优可分别获得31.89%和17.50%的加速效果。

关 键 词:GPU加速  共轭梯度  稳定双共轭梯度  重排序  HMEC存储格式  稀疏矩阵与向量乘
收稿时间:2018/4/19 0:00:00
修稿时间:2019/9/28 0:00:00

Optimization of solving sparse linear system based on blocked storage format
Cheng Kai,Tian Jin,Wu Fei and Wang Ru.Optimization of solving sparse linear system based on blocked storage format[J].Application Research of Computers,2019,36(11).
Authors:Cheng Kai  Tian Jin  Wu Fei and Wang Ru
Affiliation:College of Electronic and Electrical Engineering,Shanghai University of Engineering Science,,,
Abstract:This paper proposed a storage format HMEC(Hybrid Multiple ELL and CSR) of sparse matrix to solve large sparse linear equations on GPU. Firstly, it optimized the storage structure of the coefficient matrix by reordering. Secondly, it stored the coefficient matrix in a certain scale block. Then it adopted an approach by combining ELL and CSR storage format to adapt to different characteristics of blocks. At last, it took bi-conjugate gradient stabilized(BICGStab) and conjugate gradient(CG) iterative methods to solve large sparse linear systems, they were respectively preconditioned by incomplete-LU and incomplete-Cholesky factorization for asymmetric and symmetric positive definite linear matrices. Experiments show that comparing the way by storing sparse matrices in HMEC format with other ways by storing in the common storage format, the acceleration of the best available it can get are 31.89% and 17.50%.
Keywords:GPU acceleration  conjugate gradient  bi-conjugate gradient stabilized  reorder  HMEC(hybrid multiple ELL and CSR) storage format  sparse matrix-vector multiplication
本文献已被 万方数据 等数据库收录!
点击此处可从《计算机应用研究》浏览原始摘要信息
点击此处可从《计算机应用研究》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号