挖掘新兴硬件加速器在对称特征值分解中的潜力
Extracting the Potential of Emerging Hardware Accelerators for Symmetric Eigenvalue Decomposition
AI总结:
针对新兴硬件加速器上对称特征值分解因内存带宽受限而计算利用率极低的问题,本文提出多种算法优化以缓解内存瓶颈并提升并行利用,使三对角化在H100等GPU上相比cuSOLVER最高加速10.1倍,端到端EVD最高加速4.1倍。
摘要:
得益于GPU等硬件加速器的进步,深度神经网络和科学计算应用能够实现卓越的性能。近年来,新兴硬件加速器的计算能力迅速增长,而内存带宽未能跟上这一增长速度。这种差距加剧了计算与内存之间的鸿沟,导致传统算法效率低下,因为它们很可能从计算受限转变为内存受限。对称特征值分解(EVD)是科学计算、深度学习训练和推理算法等多个研究领域中的关键操作,由于在H100 GPU上仅实现了不到3%的硬件计算利用率,其性能表现欠佳。在本文中,我们分析了新兴硬件加速器的特性,以识别传统EVD算法中固有的瓶颈。为了提高EVD性能,我们提出了若干算法优化,旨在解决内存受限问题,并更好地利用新兴硬件加速器上丰富的计算能力和并行性。实验表明,与最先进的cuSOLVER三对角化相比,我们提出的方法在三对角化这一占EVD总耗时90%以上的主要工作负载上实现了显著加速,在H100、A100和RTX 4090 GPU上分别获得了最高10.1倍、7.5倍和2.3倍的提升。并且EVD求解器的端到端性能也比cuSOLVER最高快4.1倍。
英文摘要:
Benefiting from the advancement of hardware accelerators such as GPUs, deep neural networks and scientific computing applications can achieve superior performance. Recently, the computing capacity of emerging hardware accelerators has increased rapidly, while memory bandwidth has not kept pace with this growth. This disparity exacerbates the gap between computing and memory, leading to inefficiencies on conventional algorithms, as they're likely to be converted from compute-bound to memory-bound. Symmetric eigenvalue decomposition (EVD), a critical operation in various research domains including scientific computing, deep learning training, and inference algorithms, exhibits suboptimal performance due to achieving less than 3\% hardware computing utilization on the H100 GPU. In this paper, we analyze the features of emerging hardware accelerators to identify the bottlenecks inherent in conventional EVD algorithms. To improve EVD performance, we propose several algorithmic optimizations aimed at solving the memory-bound problem and providing a better utilization of the rich computing capacity and parallelism on the emerging hardware accelerators. Experimentally, our proposed method demonstrates significant speedups on tridiagonalization, which is the main workload that takes over 90\% elapsed time of EVD, compared to the SOTA cuSOLVER tridiagonalization, achieving up to 10.1x, 7.5x, and 2.3x improvements on H100, A100, and RTX 4090 GPUs, respectively. And the end-to-end the performance of EVD solver is also up to 4.1x faster than cuSOVLER.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。