arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.03743math.NAcs.NA
收藏

减少通信的共轭梯度变种用于GPU加速集群

Communication-reduced Conjugate Gradient Variants for GPU-accelerated Clusters

Institute for Applied Computing (IAC)(应用计算研究所)

Massimo Bernaschi, Mauro G. Carrozzo, Alessandro Celestini, Giacomo Piperno, Pasqua D'Ambra

AI总结:

本文提出一种高效的预条件s步共轭梯度法实现,用于Nvidia GPU加速集群,通过减少全局同步和数据通信步骤,提升并行计算机的强标量性和弱标量性。

摘要:

线性求解器是任何科学和工程计算软件平台的关键组件。大规模稀疏线性系统的求解是依赖偏微分方程(PDE)的物理驱动数值模拟的核心,常在数据驱动过程如科学机器学习中成为瓶颈。本文提出了一种高效的预条件s步共轭梯度(CG)方法的实现,该方法最初由Chronopoulos和Gear于1989年提出,用于大规模Nvidia GPU加速计算节点集群。该方法通常称为减少通信或避免通信的CG,相比标准方法减少了全局同步和数据通信步骤,提高了并行计算机的强标量性和弱标量性。我们的主要贡献是设计了一种并行求解器,充分利用s步CG方法固有的低粒度操作聚合特性,以利用GPU加速器的高吞吐量。此外,它在多GPU稀疏矩阵-向量乘法中应用通信与计算的重叠。在经典基准数据集上的实验,这些数据集来自泊松PDE的离散化,展示了该方法的潜力。

英文摘要:

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.

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

↑