[Paper Review] Accelerating the solution of families of shifted linear systems with CUDA
This paper presents a GPU-accelerated, open-source CUDA implementation of shifted Krylov subspace solvers—specifically CG-M and BiCGStab-M—for efficiently solving families of sparse linear systems with multiple shifts. The method achieves a conservative speedup of over 12× compared to a single CPU core, enabling practical simulation of complex quantum field theories, including those relevant to LHC physics and supersymmetric models.
We describe the GPU implementation of shifted or multimass iterative solvers for sparse linear systems of the sort encountered in lattice gauge theory. We provide a generic tool that can be used by those without GPU programming experience to accelerate the simulation of a wide array of theories. We stress genericity, which is important to allow the simulation of candidate theories for new physics at LHC, and for the study of various supersymmetric theories. We find significant speed ups, which we conservatively bound below at at least twelve times, that promise to put a variety of research questions within practical reach.
Motivation & Objective
- To develop a generic, GPU-accelerated solver for families of shifted linear systems arising in lattice gauge theory and quantum field theory simulations.
- To enable efficient simulation of non-QCD theories—such as candidate new physics at the LHC and supersymmetric models—without rewriting core solvers from scratch.
- To provide a user-friendly, open-source tool that requires no CUDA programming expertise, allowing broad adoption across high-energy and computational physics.
- To significantly reduce computational cost for solving multiple shifted systems, which is the dominant bottleneck in dynamical fermion simulations.
Proposed method
- The solver uses GPU-accelerated implementations of the multimass conjugate gradient (CG-M) and multimass biconjugate gradient stabilized (BiCGStab-M) methods for solving shifted linear systems.
- It exploits the mathematical property that Krylov subspaces remain invariant under matrix shifts, allowing shared computation across multiple shifted systems.
- The algorithm reuses iteration constants across shifts to avoid redundant matrix-vector multiplications, minimizing computational overhead.
- The implementation is built on the CUSP library and exposes high-level C++ routines that abstract away low-level GPU programming.
- It supports both single and double precision arithmetic, with performance measured across varying numbers of shifts.
- The method is generic and can be applied to any problem of the form (A + σiI)xi = bi, including non-theoretical applications like solving the 2D Poisson equation.
Experimental results
Research questions
- RQ1Can GPU-accelerated Krylov subspace methods achieve significant performance gains for solving families of shifted linear systems in lattice gauge theory simulations?
- RQ2To what extent can a generic, open-source GPU solver reduce the computational cost of simulating non-Abelian gauge theories with dynamical fermions?
- RQ3How does the performance of a GPU-based shifted solver compare to a single-core CPU implementation for the same problem size and precision?
- RQ4Can the solver be effectively applied beyond quantum chromodynamics, such as in solving the 2D Poisson equation with multiple right-hand sides?
- RQ5Is it feasible to extend the solver to handle systems with different right-hand sides by using intelligent initial guesses that preserve shared Krylov subspaces?
Key findings
- The GPU-accelerated CG-M solver achieves a conservative speedup of over 12× compared to a single CPU core when solving 15 shifted systems in double precision.
- For a 1000×1000 2D Poisson problem with 15 shifts, the GPU-based shifted solver completes in less than 1/12th the time of a single CPU core running an unshifted CG solver.
- The GPU implementation of the unshifted CG solver is faster than the shifted solver by a factor of a few, as expected due to reduced algorithmic overhead.
- The solver is designed to be generic and reusable, enabling rapid simulation of a wide range of quantum field theories without low-level GPU coding.
- The method is applicable beyond high-energy physics, as demonstrated by its successful use in solving the 2D Poisson equation with multiple shifts.
- The open-source nature of the code, integrated into the CUSP project, ensures broad accessibility and extensibility for future research.
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.