arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2009.12101cs.MS
收藏

高性能GPU上的压缩基GMRES

Compressed Basis GMRES on High Performance GPUs

José I. Aliaga, Hartwig Anzt, Thomas Grützmacher, Enrique S. Quintana-Ortí, Andrés E. Tomás

摘要:

Krylov方法为许多大型稀疏线性方程组的迭代求解提供了一种快速、高度并行的数值工具。在很大程度上,这些方法的实际实现的性能受到所有当前计算机体系结构中的通信带宽的约束,从而激发了最近对复杂技术的研究,以避免、减少和/或隐藏消息传递成本(在分布式平台中)和存储器访问(在所有体系结构中)。本文介绍了一种用于(Krylov)GMRES求解器的新的通信减少策略,该策略主张解耦存储格式(即,存储器中的数据表示)与在利用该基的运算期间采用的算术精度之间的差异。鉴于GMRES求解器的执行时间主要由存储器访问决定,数据类型转换可以大部分隐藏,从而通过从存储器中检索更少量的位来加速迭代步骤。再加上标准正交基的特殊性质(其元素都以1为界),这为存储格式的积极定制铺平了道路,其中包括一些浮点和定点格式,对迭代过程的收敛几乎没有影响。我们在Ginkgo稀疏线性代数库中开发了“压缩基GMRES”求解器的高性能实现,并使用SuiteSparse矩阵集合中的大量测试问题,在现代NVIDIA V100 GPU上展示了高达50%的鲁棒性和性能优势,优于以IEEE双精度的存储所有数据的标准GMRES求解器。

英文摘要:

Krylov methods provide a fast and highly parallel numerical tool for the iterative solution of many large-scale sparse linear systems. To a large extent, the performance of practical realizations of these methods is constrained by the communication bandwidth in all current computer architectures, motivating the recent investigation of sophisticated techniques to avoid, reduce, and/or hide the message-passing costs (in distributed platforms) and the memory accesses (in all architectures). This paper introduces a new communication-reduction strategy for the (Krylov) GMRES solver that advocates for decoupling the storage format (i.e., the data representation in memory) of the orthogonal basis from the arithmetic precision that is employed during the operations with that basis. Given that the execution time of the GMRES solver is largely determined by the memory access, the datatype transforms can be mostly hidden, resulting in the acceleration of the iterative step via a lower volume of bits being retrieved from memory. Together with the special properties of the orthonormal basis (whose elements are all bounded by 1), this paves the road toward the aggressive customization of the storage format, which includes some floating point as well as fixed point formats with little impact on the convergence of the iterative process. We develop a high performance implementation of the "compressed basis GMRES" solver in the Ginkgo sparse linear algebra library and using a large set of test problems from the SuiteSparse matrix collection we demonstrate robustness and performance advantages on a modern NVIDIA V100 GPU of up to 50% over the standard GMRES solver that stores all data in IEEE double precision.

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

↑