[Paper Review] Parallel Semi-Implicit Time Integrators
This paper introduces a parallel semi-implicit time integrator based on Revisionist Integral Deferred Correction (RIDC) methods, enabling high-order accuracy (up to fourth order) for time-dependent PDEs using multiple GPUs. By leveraging CUBLAS libraries and OpenMP, the method achieves fourth-order accuracy with four GPUs and four CPUs in roughly the same wall clock time as a first-order solution on a single GPU and CPU, demonstrating near-linear speedup and efficient GPU utilization.
In this paper, we further develop a family of parallel time integrators known as Revisionist Integral Deferred Correction methods (RIDC) to allow for the semi-implicit solution of time dependent PDEs. Additionally, we show that our semi-implicit RIDC algorithm can harness the computational potential of multiple general purpose graphical processing units (GPUs) in a single node by utilizing existing CUBLAS libraries for matrix linear algebra routines in our implementation. In the numerical experiments, we show that our implementation computes a fourth order solution using four GPUs and four CPUs in approximately the same wall clock time as a first order solution computed using a single GPU and a single CPU.
Motivation & Objective
- To develop high-order parallel time integrators for stiff and non-stiff PDEs using semi-implicit schemes.
- To enable efficient utilization of multiple GPUs within a single node for time integration of time-dependent PDEs.
- To demonstrate that high-order accuracy (fourth order) can be achieved in the same wall clock time as low-order (first order) methods on a single GPU.
- To integrate existing CUBLAS libraries into a parallel RIDC framework to avoid complex data decomposition.
- To provide a plug-and-play extension to legacy spatially parallel PDE solvers by adding time-parallelism without modifying existing code.
Proposed method
- The method uses a semi-implicit formulation based on Implicit-Explicit (IMEX) Runge-Kutta schemes, where stiff terms are treated implicitly and non-stiff terms explicitly.
- The RIDC framework rewrites the defect correction process to allow correction sweeps to be lagged in time, enabling parallel execution of multiple correction levels.
- The algorithm is implemented using OpenMP for CPU threading and CUDA with CUBLAS for GPU-accelerated linear algebra operations, particularly trsv and gemv kernels.
- The time integration is structured so that each correction loop runs on a separate GPU or CPU core, with data dependencies managed through lagged time stepping.
- The method leverages existing CUBLAS libraries for dense linear algebra, avoiding the need for custom GPU kernels or complex data decomposition.
- The implementation supports both advection-diffusion and viscous Burgers' equations, with spatial discretization using finite differences and numerical fluxes for hyperbolic terms.
Experimental results
Research questions
- RQ1Can RIDC methods be extended to semi-implicit time integration of stiff PDEs while maintaining high-order accuracy and parallel scalability?
- RQ2Can existing CUBLAS libraries be effectively used to accelerate multi-GPU RIDC implementations without requiring custom GPU kernels or data decomposition?
- RQ3Does the proposed parallel RIDC approach achieve near-linear speedup when scaling across multiple GPUs and CPUs for high-order time integration?
- RQ4Can fourth-order accuracy be achieved in the same wall clock time as a first-order solution on a single GPU?
- RQ5How does the performance of the proposed GPU-optimized RIDC compare to traditional ARK and FBE methods in terms of accuracy and computational cost?
Key findings
- The fourth-order RIDC-FBE scheme achieves its designed order of accuracy, as confirmed by convergence studies on both advection-diffusion and viscous Burgers’ equations.
- Using four GPUs and four CPUs, the RIDC-FBE method computes a fourth-order solution in approximately the same wall clock time as a first-order forward-backward Euler (FBE) solution on a single GPU and CPU.
- The method achieves near-linear speedup: 3.88× speedup with four GPUs and 3.81× with four CPUs, indicating efficient scaling.
- Over 73% of GPU time is spent in trsv_kernel calls, and CUBLAS-based linear algebra operations dominate performance, with data transfer accounting for less than 1% of total time.
- The GPU implementation is approximately an order of magnitude faster than the CPU-only version, with GPU speedups of 3.95× for four GPUs and 3.94× for four CPUs on Burgers’ equation.
- The profiling results show that CUBLAS kernels (trsv, gemv) account for 97.75% of GPU time, confirming that the performance bottleneck lies in linear algebra, which is efficiently offloaded to optimized libraries.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.