面向具有迥异空间与时间尺度应用的基于 GPU 的可压缩燃烧求解器
A GPU-based Compressible Combustion Solver for Applications Exhibiting Disparate Space and Time Scales
AI总结:
针对高速化学反应流的多尺度计算挑战,提出基于 AMReX 框架的多 GPU 优化可压缩反应流求解器,通过优化内存访问、批量稀疏积分与负载分配,在多个燃烧应用中实现显著性能提升与高效资源利用。
摘要:
高速化学反应流因其迥异的空间与时间尺度而带来巨大的计算挑战,其中刚性化学过程往往主导仿真时间。尽管现代超算科学代码通过利用图形处理器(GPU)实现了百亿亿次级性能,但现有的基于 GPU 的可压缩燃烧求解器在内存管理、负载均衡以及处理化学反应的高度局部化特性方面面临关键限制。为此,我们提出了一种基于 AMReX 框架构建并针对多 GPU 环境优化的高性能可压缩反应流求解器。我们的方法解决了三个 GPU 性能瓶颈:通过列优先存储优化改善内存访问模式,通过针对化学动力学的批量稀疏积分策略应对计算工作负载的波动,以及为自适应网格细化应用实现多 GPU 负载分配。该求解器将现有的基于矩阵的化学动力学公式适配到多重网格环境中。使用包括氢-空气爆轰和超音速横向流中的射流配置在内的代表性燃烧应用,我们展示了相较于初始 GPU 实现取得 $2-5\ imes$ 的性能提升,并在 $1-96$ 块 NVIDIA H100 GPU 上实现了接近理想的弱扩展性。Roofline 分析表明,对流(约 $10\ imes$)和化学(约 $4\ imes$)例程的算术强度均有显著提升,证实了对 GPU 内存带宽和计算资源的高效利用。
英文摘要:
High-speed chemically active flows present significant computational challenges due to their disparate space and time scales, where stiff chemistry often dominates simulation time. While modern supercomputing scientific codes achieve exascale performance by leveraging graphics processing units (GPUs), existing GPU-based compressible combustion solvers face critical limitations in memory management, load balancing, and handling the highly localized nature of chemical reactions. To this end, we present a high-performance compressible reacting flow solver built on the AMReX framework and optimized for multi-GPU settings. Our approach addresses three GPU performance bottlenecks: memory access patterns through column-major storage optimization, computational workload variability via a bulk-sparse integration strategy for chemical kinetics, and multi-GPU load distribution for adaptive mesh refinement applications. The solver adapts existing matrix-based chemical kinetics formulations to multigrid contexts. Using representative combustion applications including hydrogen-air detonations and jet in supersonic crossflow configurations, we demonstrate $2-5\times$ performance improvements over initial GPU implementations with near-ideal weak scaling across $1-96$ NVIDIA H100 GPUs. Roofline analysis reveals substantial improvements in arithmetic intensity for both convection ($\sim 10 \times$) and chemistry ($\sim 4 \times$) routines, confirming efficient utilization of GPU memory bandwidth and computational resources.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。