期刊文献+

共轭梯度法的GPU实现 被引量:4

GPU Implementation of Conjugate Gradient Method
下载PDF
导出
摘要 提出基于图形处理单元(GPU)实现矩阵与向量相乘的新算法,只需渲染四边形一次即可实现矩阵与向量乘法。并给出实现向量元素求和的新算法,与缩减算法不同,该算法不要求向量大小为2的幂。基于这2种算法使用OpenGL着色语言(GLSL)编程,用GPU实现求解线性方程组的共轭梯度法。与Krüger算法相比,该方法所用计算时间更少。 This paper presents a new algorithm for computing matrix-vector multiplication based on a Graphics Processing Unit(GPU). A matrix is presented by a texture and matrix-vector multiplication can be realized by rendering a quadrilateral one pass. Instead of vector reduction, it presents a new algorithm for summing all entries of a vector, not requiring the size of the vector be the power of two. Based on these algorithms, the conjugate gradient method for solving linear equations is implemented using the GPU with OpenGL Shading Language(GLSL). The computation is compared against that on Kriiger's algorithm, proving the efficiency of the proposed algorithms.
出处 《计算机工程》 CAS CSCD 北大核心 2009年第17期274-276,共3页 Computer Engineering
关键词 图形处理单元 OpenGL着色语言 共轭梯度法 Graphics Processing Unit(GPU) OpenGL Shading Language(GLSL) conjugate gradient method
  • 相关文献

参考文献4

  • 1Qwens J D, Luebke D, Govindaraju N, et al. A Survey of General-purpose Computation on Graphics Hardware[C]//Proc. of Eurographics'05. Grenoble, France: [s. n.], 2005.
  • 2Kruger J, Westermann R. Linear Algebra Operators for GPU Implementation of Numerical Algorithms[J]. ACM Transactions on Graphics, 2003, 22(3): 908-916.
  • 3Bolz J, Farmar I, Grinspun E, et al. Sparse Matrix Solvers on the GPU: Conjugate Gradients and Multigrid[J]. ACM Transactions on Graphics, 2003, 22(3): 917-924.
  • 4RostRJ.OpenGL着色语言[M].天宏工作室,译.北京:人民邮电出版社,2006.

共引文献3

同被引文献48

  • 1刘伟峰,王永胜,张天雷,张兵.使用GPU模拟地震波传播的性能研究[J].系统仿真学报,2009,21(S1):170-174. 被引量:3
  • 2柳有权,刘学慧,吴恩华.基于GPU带有复杂边界的三维实时流体模拟[J].软件学报,2006,17(3):568-576. 被引量:54
  • 3邓劲.图形处理器上的快速傅里叶变换[J].现代电子技术,2007,30(10):151-154. 被引量:7
  • 4Qwens J D, Luebke D, Govindaraju N, et al. A survey of general-purpose computation on graphics hardware. In: Eurographics 2005, State of the Art Reports, August 2005. 21-51.
  • 5Juba D, Varshney A. Parallel, stochastic measurement of molecular surface area. Journal of Molecular graphics and Modeling, 2008, 27(1): 82-87.
  • 6Bohn C A. Kohonon feature mapping through graphics hardware. In: Proceedings of the Joint Conference on Information Sciences. Research Triangle Park, North Carolina, USA, 1998. 2:64-67.
  • 7Hopf M, Ertl T. Accelerating 3D convolution using graphics hardware. IEEE Visulization '99. San Francisco, Cal-ifornia, USA, 1999. 471-474.
  • 8Hopf M, Ertl T. Hardware based wavelet transformations. In: Proceedings of Vision, Modelling, and Visualization. Germany, 1999. 317-328.
  • 9Thompson C J, Hahn S, Oskin M. Using modern graphics architectures for general-purpose computing: A framework and analysis. In: Proceedings of the 35th Annual ACM/IEEE International Symposium on Microarchitecture. Istanbul, Turkey, 2002. 306-317.
  • 10Harris M J, Coombe G, Scheuermann T, et al. Physically- based visual simulation on graphics hardware. In: Proceedings of the ACM Siggraph/Eurographics conference on Graphics hardware, Saarbrucken, Germany, 2002. 109-118.

引证文献4

二级引证文献16

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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