arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.00011physics.comp-phcs.AR
收藏

为高效 GPU 加速器适配大气化学组件

Adapting Atmospheric Chemistry Components for Efficient GPU Accelerators

Christian Guzman Ruiz, Matthew Dawson, Mario C. Acosta, Oriol Jorba, Eduardo Cesar Galobardes, Carlos Pérez García-Pando, Kim Serradell

AI总结:

本文针对 MONARCH 大气化学模型,提出同时求解多个网格单元化学机制实例的策略,并对 CAMP 关键函数进行 GPU 移植和内存访问优化,分别实现最高 9 倍和 1.7 倍加速。

摘要:

大气模型需要大量计算能力,而求解化学过程是其计算最密集的组成部分之一。本工作展示了如何提升 Multiscale Online Nonhydrostatic AtmospheRe CHemistry model(MONARCH)的计算性能,该模型是由巴塞罗那超级计算中心开发的化学天气预报系统。该模型实现了新的灵活外部软件包 Chemistry Across Multiple Phases(CAMP),用于求解气相和气溶胶相化学过程,并允许将多个化学过程作为一个单一系统同时求解。我们引入了一种新策略,同时求解化学机制的多个实例(在模型中表示为网格单元),在使用数千个单元时获得了最高 9 倍的加速。此外,我们针对 CAMP 中最耗时的函数提出了一种 GPU 策略。与 CPU 相比,GPU 版本实现了最高 1.2 倍的加速。同时,我们优化了 GPU 中的内存访问,将其加速提升至最高 1.7 倍。

英文摘要:

Atmospheric models demand a lot of computational power and solving the chemical processes is one of its most computationally intensive components. This work shows how to improve the computational performance of the Multiscale Online Nonhydrostatic AtmospheRe CHemistry model (MONARCH), a chemical weather prediction system developed by the Barcelona Supercomputing Center. The model implements the new flexible external package Chemistry Across Multiple Phases (CAMP) for the solving of gas- and aerosol-phase chemical processes, that allows multiple chemical processes to be solved simultaneously as a single system. We introduce a novel strategy to simultaneously solve multiple instances of a chemical mechanism, represented in the model as grid-cells, obtaining a speedup up to 9x using thousands of cells. In addition, we present a GPU strategy for the most time-consuming function of CAMP. The GPU version achieves up to 1.2x speedup compared to CPU. Also, we optimize the memory access in the GPU to increase its speedup up to 1.7x.

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

↑