English

Communication-reduced Conjugate Gradient Variants for GPU-accelerated Clusters

Numerical Analysis 2026-04-16 v1 Numerical Analysis

Abstract

Linear solvers are key components in any software platform for scientific and engineering computing. The solution of large and sparse linear systems lies at the core of physics-driven numerical simulations relying on partial differential equations (PDEs) and often represents a significant bottleneck in datadriven procedures, such as scientific machine learning. In this paper, we present an efficient implementation of the preconditioned s-step Conjugate Gradient (CG) method, originally proposed by Chronopoulos and Gear in 1989, for large clusters of Nvidia GPU-accelerated computing nodes. The method, often referred to as communication-reduced or communication-avoiding CG, reduces global synchronizations and data communication steps compared to the standard approach, enhancing strong and weak scalability on parallel computers. Our main contribution is the design of a parallel solver that fully exploits the aggregation of low-granularity operations inherent to the s-step CG method to leverage the high throughput of GPU accelerators. Additionally, it applies overlap between data communication and computation in the multi-GPU sparse matrix-vector product. Experiments on classic benchmark datasets, derived from the discretization of the Poisson PDE, demonstrate the potential of the method.

Keywords

Cite

@article{arxiv.2501.03743,
  title  = {Communication-reduced Conjugate Gradient Variants for GPU-accelerated Clusters},
  author = {Massimo Bernaschi and Mauro G. Carrozzo and Alessandro Celestini and Giacomo Piperno and Pasqua D'Ambra},
  journal= {arXiv preprint arXiv:2501.03743},
  year   = {2026}
}
R2 v1 2026-06-28T20:58:40.971Z