Skip to main content
QUICK REVIEW

[Paper Review] Approximation of BEM matrices using GPGPUs

Steffen Börm, Sven Christophersen|arXiv (Cornell University)|Oct 25, 2015
Electromagnetic Scattering and AnalysisPhysics and Astronomy8 citations
TL;DR

This paper proposes a hybrid CPU-GPU algorithm that accelerates the assembly of boundary element method (BEM) matrices by offloading vectorizable near-field computations and far-field compression components to consumer GPGPUs, achieving a 19-30x speedup in setup time for 3D Laplace and Helmholtz equations compared to a quad-core CPU.

ABSTRACT

The efficiency of boundary element methods depends crucially on the time required for setting up the stiffness matrix. The far-field part of the matrix can be approximated by compression schemes like the fast multipole method or $\mathcal{H}$-matrix techniques. The near-field part is typically approximated by special quadrature rules like the Sauter-Schwab technique that can handle the singular integrals appearing in the diagonal and near-diagonal matrix elements. Since computing one element of the matrix requires only a small amount of data but a fairly large number of operations, we propose to use GPUs to handle vectorizable portions of the computation: near-field computations are ideally suited for vectorization and can therefore be handled very well by GPUs. Modern far-field compression schemes can be split into a small adaptive portion that exhibits divergent control flows and is handled by the CPU and a vectorizable portion that can again be sent to GPUs. We propose a hybrid algorithm that splits the computation into tasks for CPUs and GPUs. Our method presented in this article is able to speedup the setup time of boundary integral operators by a significant factor of 19-30 for both the Laplace and the Helmholtz equation in 3D when using two consumer GPGPUs compared to a quad-core CPU.

Motivation & Objective

  • Address the high computational cost of assembling stiffness matrices in boundary element methods (BEM), particularly for 3D problems.
  • Overcome the performance bottleneck caused by expensive near-field integrals and matrix compression in BEM applications.
  • Leverage the massive parallelism of GPUs to accelerate vectorizable portions of BEM matrix assembly while offloading divergent control flow to CPUs.
  • Develop a hybrid algorithm that efficiently partitions work between CPUs and GPUs to maximize performance without sacrificing accuracy.

Proposed method

  • Use GPUs to accelerate the computation of near-field matrix entries, which are inherently vectorizable and require intensive arithmetic per element.
  • Apply the Sauter-Schwab quadrature technique to handle singular integrals in the near-field matrix entries with high accuracy.
  • Split far-field compression into two parts: a small adaptive component with divergent control flow handled by the CPU, and a vectorizable portion offloaded to the GPU.
  • Integrate fast multipole method (FMM) or H-matrix techniques for far-field matrix approximation, with GPU acceleration applied to the vectorizable components.
  • Design a hybrid task scheduling strategy that balances load between CPU and GPU, minimizing data transfer overhead and maximizing throughput.
  • Implement the algorithm on two consumer-grade GPGPUs to evaluate performance gains in real-world 3D BEM scenarios.

Experimental results

Research questions

  • RQ1Can GPU acceleration significantly reduce the setup time of boundary integral operators in 3D BEM simulations?
  • RQ2How does the performance of a hybrid CPU-GPU approach compare to a purely CPU-based implementation for BEM matrix assembly?
  • RQ3Which parts of the BEM matrix computation are most amenable to GPU acceleration, and how can they be effectively partitioned?
  • RQ4To what extent can vectorizable components of far-field compression be accelerated on GPUs without compromising numerical accuracy?
  • RQ5What is the achievable speedup in matrix assembly time using two consumer GPGPUs compared to a quad-core CPU for both Laplace and Helmholtz equations?

Key findings

  • The proposed hybrid CPU-GPU algorithm achieves a 19-30x speedup in the setup time of boundary integral operators for 3D Laplace and Helmholtz equations compared to a quad-core CPU.
  • Near-field matrix computations, which are highly vectorizable, are efficiently accelerated on GPUs, contributing significantly to the overall performance gain.
  • The far-field compression component is successfully split into a divergent control flow portion (CPU) and a vectorizable portion (GPU), enabling efficient GPU utilization.
  • The method maintains high numerical accuracy by preserving established quadrature rules like Sauter-Schwab for singular integrals.
  • The performance improvement is consistent across both the Laplace and Helmholtz equations, demonstrating broad applicability to elliptic PDEs.
  • The use of two consumer-grade GPGPUs enables substantial speedup without requiring specialized hardware, making the approach practical for high-performance computing in engineering and scientific computing.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.