帮助 本站公告
您现在所在的位置:网站首页 > 知识中心 > 文献详情
文献详细Journal detailed

共轭梯度法的GPU实现
GPU Implementation of Conjugate Gradient Method

作  者: ; ;

机构地区: 华南理工大学土木与交通学院土木工程系

出  处: 《计算机工程》 2009年第17期274-276,共3页

摘  要: 提出基于图形处理单元(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.

关 键 词: 图形处理单元 着色语言 共轭梯度法

领  域: [自动化与计算机技术] [自动化与计算机技术]

相关作者

作者 陈汉夫
作者 姚建芷

相关机构对象

机构 嘉应学院图书馆
机构 广东技术师范学院计算机科学学院
机构 香港中文大学

相关领域作者

作者 李文姬
作者 邵慧君
作者 杜松华
作者 周国林
作者 邢弘昊