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

加速GPU上的高阶压缩

Accelerating High-Order Stencils on GPUs

Ryuichi Sai, John Mellor-Crummey, Xiaozhu Meng, Mauricio Araya-Polo, Jie Meng

摘要:

在HPC应用中,广泛使用了速度计算。如今,许多HPC平台使用GPU作为加速器。因此,了解如何在GPU上快速执行模板计算非常重要。虽然在GPU上的低阶扩展的实现策略已经在文献中得到了很好的研究,但并不是所有提出的增强都能很好地用于高阶扩展,例如用于地震建模的增强。此外,处理边界条件通常需要不同的计算逻辑,这使得GPU上线程级并行性的有效利用变得复杂。在本文中,我们研究了高阶扩展及其在GPU上的独特特性。我们手工制作了一系列CUDA中25点地震建模模板和相关边界条件的实现。我们评估它们的代码形状、存储层次结构使用、数据获取模式和其他性能属性。我们使用几种成熟和新兴的工具对这些支架进行了实证评估,并讨论了我们的定量研究结果。在我们的实现中,我们实现了两倍的性能的专有代码开发的C和映射到GPU使用OpenACC。此外,我们的一些实现具有出色的性能可移植性。

英文摘要:

Stencil computations are widely used in HPC applications. Today, many HPC platforms use GPUs as accelerators. As a result, understanding how to perform stencil computations fast on GPUs is important. While implementation strategies for low-order stencils on GPUs have been well-studied in the literature, not all of proposed enhancements work well for high-order stencils, such as those used for seismic modeling. Furthermore, coping with boundary conditions often requires different computational logic, which complicates efficient exploitation of the thread-level parallelism on GPUs. In this paper, we study high-order stencils and their unique characteristics on GPUs. We manually crafted a collection of implementations of a 25-point seismic modeling stencil in CUDA and related boundary conditions. We evaluate their code shapes, memory hierarchy usage, data-fetching patterns, and other performance attributes. We conducted an empirical evaluation of these stencils using several mature and emerging tools and discuss our quantitative findings. Among our implementations, we achieve twice the performance of a proprietary code developed in C and mapped to GPUs using OpenACC. Additionally, several of our implementations have excellent performance portability.

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

↑