arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1810.04221math.NAcs.NA
收藏

基于兼容加权匹配的AMG方法用于GPU

AMG based on compatible weighted matching for GPUs

Institute for Applied Computing (IAC) - CNR(应用计算研究所(IAC)- 意大利国家研究委员会);Department of Computer Science, “Sapienza” University(“萨皮恩扎”大学计算机系)

Massimo Bernaschi, Pasqua D'Ambra, Dario Pasquini

AI总结:

本文提出了一种基于兼容加权匹配的AMG预处理方法,利用GPU的并行计算能力,改进了稀疏对称正定矩阵的粗化过程,提升了求解线性方程组的效率。

摘要:

我们描述了为适应最新一代Nvidia图形处理单元(GPU)而设计的高效实现的主要问题和设计原则,该实现基于一种之前由一位作者提出并已在开源包BootCMatch中可用的代数多网格(AMG)预处理器。AMG方法依赖于一种新的粗化方法,称为“基于兼容加权匹配的粗化”。它利用稀疏矩阵邻接图的最大权重匹配,受兼容松弛原则的驱动,提供了一种超越当前方法通常应用的启发式方法的未知数聚合。我们采用了一种基于最近提出的并行算法(称为Suitor算法)的近似解最大权重匹配问题的解决方案,并证明这种方法使我们能够在GPU上获得高质量的粗矩阵。我们利用现代GPU固有的并行性,在涉及稀疏矩阵计算的所有内核中,包括预处理器的设置和在Krylov求解器中的应用,从而超越了Nvidia AmgX库中的预处理器。我们报告了来自标量和向量偏微分方程(PDE)离散化所得到的大量线性方程组的结果。

英文摘要:

We describe main issues and design principles of an efficient implementation, tailored to recent generations of Nvidia Graphics Processing Units (GPUs), of an Algebraic Multigrid (AMG) preconditioner previously proposed by one of the authors and already available in the open-source package BootCMatch: Bootstrap algebraic multigrid based on Compatible weighted Matching for standard CPU. The AMG method relies on a new approach for coarsening sparse symmetric positive definite (spd) matrices, named "coarsening based on compatible weighted matching". It exploits maximum weight matching in the adjacency graph of the sparse matrix, driven by the principle of compatible relaxation, providing a suitable aggregation of unknowns which goes beyond the limits of the usual heuristics applied in the current methods. We adopt an approximate solution of the maximum weight matching problem, based on a recently proposed parallel algorithm, referred as the Suitor algorithm, and show that it allow us to obtain good quality coarse matrices for our AMG on GPUs. We exploit inherent parallelism of modern GPUs in all the kernels involving sparse matrix computations both for the setup of the preconditioner and for its application in a Krylov solver, outperforming preconditioners available in Nvidia AmgX library. We report results about a large set of linear systems arising from discretization of scalar and vector partial differential equations (PDEs).

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

↑