节点文献

基于GPU的混合精度平方根共轭梯度算法

Mixed precision CGS algorithm based on GPU

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 李熙铭欧阳丹彤白洪涛

【Author】 Li Ximing1,2,Ouyang Dantong1,2,Bai Hongtao2,3,4(1 College of Computer Science and Technology,Jilin University,Changchun 130012,China; 2 Key Laboratory of Symbolic Computation and Knowledge Engineering of Ministry of Education,Jilin University, Changchun 130012,China;3 Center for Computer Fundamental Education,Jilin University,Changchun,130012,China; 4 College of Earth Survey Science and Technology,Jilin University,Changchun 130026,China)

【机构】 吉林大学计算机科学与技术学院吉林大学符号计算与知识工程教育部重点实验室吉林大学公共计算机教学与研究中心吉林大学地球探测科学与技术学院

【摘要】 针对当前基于GPU的数值算法具有双精度数据性能低下的缺陷。提出了一种适于GPU统一计算架构Fermi-CUDA的混合精度平方根共轭梯度算法用以求解稀疏线性方程组。该算法采用单精度内迭代与双精度外迭代结合的方法,以充分利用GPU体系结构下单精度高性能和双精度高精度的优点。整个算法的计算部分完全在GPU端进行,减少了CPU和GPU之间的数据通信。实现了基于GPU的平方根共轭梯度法、Jacobi迭代法和Gauss-Seidel迭代法,分析它们作为内迭代算子对算法收敛性的影响。实验表明,该算法获得了与全双精度数据处理等同的计算精度,比GPU全双精度在浮点性能上提升近一倍,相对于CPU全双精度串行算法,最大加速比达到70以上。

【Abstract】 GPU-based numerical algorithms have the shortcoming of low performance for double precision.We suggest a mixed precision conjugate gradient squared algorithm suitable for the GPU of Fermi-CUDA to solve sparse linear equations.The scheme uses a combination of single-precision inner iteration and double-precision outer iteration to take the advantages of efficient single-precision operation and accurate double-precision operation under the GPU structure.The calculation of the algorithm is implemented entirely on the GPU,which reduces the data transfer between CPU and GPU.Conjugate gradient squared algorithm,Jacobi iteration method and Gauss-Seidel iteration method based on GPU are implemented;and as inner iteration operators,their influence on the convergence of the whole process is analyzed.Experiments indicate that the mixed precision scheme maintains the native double-precision accuracy of data processing.At the same time,the floating point accuracy is improved by a factor of 2 compared with that using double-precision alone,and the maximum speedup ratio reaches to more than 70.

【基金】 国家自然科学基金(60973089,60873148,60773097,61003101);吉林省科技发展计划项目基金(201101039,20101501,20100185,20090108,20080107);欧盟合作项目(155776-EM-1-2009-1-IT-ERAMUNDUS-ECW-L12);国家教育部博士点专项基金(20100061110031);吉林大学符号计算与知识工程教育部重点实验室开放项目(93K-17-2011-K01,93K-17-2009-K05),吉林大学科学前沿与交叉学科创新项目(201103134)资助
  • 【文献出处】 仪器仪表学报 ,Chinese Journal of Scientific Instrument , 编辑部邮箱 ,2012年01期
  • 【分类号】TP391.41
  • 【被引频次】5
  • 【下载频次】183
节点文献中: 

本文链接的文献网络图示:

本文的引文网络