arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1501.04784math.NAcs.CEcs.DCcs.NAcs.PFmath.AP
收藏

基于CPU-GPU实现的全局有限元矩阵构造

Global finite element matrix construction based on a CPU-GPU implementation

Universidad Nacional de Colombia(哥伦比亚国立大学);Universidade de São Paulo(圣保罗大学)

Francisco Javier Ramírez-Gil, Marcos de Sales Guerra Tsuzuki, Wilfredo Montealegre-Rubio

AI总结:

本文提出利用GPU并行计算和CPU串行计算相结合的方法,高效构造三维域中泊松方程的全局稀疏有限元矩阵,通过利用矩阵对称性减少内存和计算时间。

摘要:

有限元方法(FEM)有多个计算步骤用于数值求解特定问题,许多努力旨在加速线性方程组的求解阶段。然而,有限元矩阵构造,尤其是对于非结构化网格,也耗费时间且研究较少。全局有限元矩阵的生成分为两步:通过数值积分计算局部矩阵并将其组装成全局系统,传统上是在串行计算中完成的。本文提出了一种快速技术,通过在图形处理单元(GPU)上计算数值积分(因其内在并行机会)和在中央处理单元(CPU)上计算矩阵组装(因其内在串行操作)来构造全局有限元矩阵。在数值积分中,仅计算每个局部刚度矩阵的下三角部分,利用其对称性节省GPU内存和计算时间。由于对称性,全局稀疏矩阵仅在其下三角部分包含非零元素,从而减少组装操作和内存使用。该方法允许在内存有限的GPU上生成任何非结构化有限元网格大小的全局稀疏矩阵,仅受CPU内存限制。

英文摘要:

The finite element method (FEM) has several computational steps to numerically solve a particular problem, to which many efforts have been directed to accelerate the solution stage of the linear system of equations. However, the finite element matrix construction, which is also time-consuming for unstructured meshes, has been less investigated. The generation of the global finite element matrix is performed in two steps, computing the local matrices by numerical integration and assembling them into a global system, which has traditionally been done in serial computing. This work presents a fast technique to construct the global finite element matrix that arises by solving the Poisson's equation in a three-dimensional domain. The proposed methodology consists in computing the numerical integration, due to its intrinsic parallel opportunities, in the graphics processing unit (GPU) and computing the matrix assembly, due to its intrinsic serial operations, in the central processing unit (CPU). In the numerical integration, only the lower triangular part of each local stiffness matrix is computed thanks to its symmetry, which saves GPU memory and computing time. As a result of symmetry, the global sparse matrix also contains non-zero elements only in its lower triangular part, which reduces the assembly operations and memory usage. This methodology allows generating the global sparse matrix from any unstructured finite element mesh size on GPUs with little memory capacity, only limited by the CPU memory.

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

↑