arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1501.00324cs.MScs.CE
收藏

一种针对有限元问题设计的新型稀疏矩阵向量乘法GPU算法

A New Sparse Matrix Vector Multiplication GPU Algorithm Designed for Finite Element Problems

Stanford University(斯坦福大学)

Jonathan Wong, Ellen Kuhl, Eric Darve

AI总结:

针对有限元分析中的稀疏矩阵向量乘法(SPMV)在GPU上的性能瓶颈,提出一种新SPMV算法及其变体,通过有效带宽测试和心脏有限元模拟验证,相比现有算法可带来高达12倍加速。

摘要:

近年来,图形处理器(GPU)越来越多地被用于各种科学计算应用中。然而,CPU和GPU之间的架构差异要求开发能够利用GPU硬件的算法。由于稀疏矩阵向量乘法(SPMV)操作在有限元分析中常用,因此针对GPU上的非结构化有限元网格,开发了一种新的SPMV算法及其几种变体。针对15个不同大小和不同稀疏结构的稀疏矩阵,测量并分析了当前GPU算法和新提出算法的有效带宽。随后研究了优化效果以及新GPU算法与其变体之间的差异。最后,在心脏的GPU有限元模拟中,将新SPMV GPU算法和当前SPMV GPU算法用于GPU CG求解器,并将这些结果与并行PETSc有限元实现结果进行比较。有效带宽测试表明,对于各种稀疏矩阵,新算法与当前算法相比具有非常有利的性能,并能带来非常显著的好处。GPU有限元模拟结果证明了使用GPU进行有限元分析的优势,并且表明所提出的算法在实际有限元应用中可以实现高达12倍的加速比。

英文摘要:

Recently, graphics processors (GPUs) have been increasingly leveraged in a variety of scientific computing applications. However, architectural differences between CPUs and GPUs necessitate the development of algorithms that take advantage of GPU hardware. As sparse matrix vector multiplication (SPMV) operations are commonly used in finite element analysis, a new SPMV algorithm and several variations are developed for unstructured finite element meshes on GPUs. The effective bandwidth of current GPU algorithms and the newly proposed algorithms are measured and analyzed for 15 sparse matrices of varying sizes and varying sparsity structures. The effects of optimization and differences between the new GPU algorithm and its variants are then subsequently studied. Lastly, both new and current SPMV GPU algorithms are utilized in the GPU CG Solver in GPU finite element simulations of the heart. These results are then compared against parallel PETSc finite element implementation results. The effective bandwidth tests indicate that the new algorithms compare very favorably with current algorithms for a wide variety of sparse matrices and can yield very notable benefits. GPU finite element simulation results demonstrate the benefit of using GPUs for finite element analysis, and also show that the proposed algorithms can yield speedup factors up to 12-fold for real finite element applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑