arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.16684math.NAcs.NA
收藏

GPU性能分析:带有非保守项的熵稳定间断伽辽金欧拉求解器

GPU Performance of an Entropy-Stable Discontinuous Galerkin Euler Solver with Non-Conservative Terms

University of California, Santa Cruz(加州大学圣克鲁兹分校);Sandia National Laboratories(桑迪亚国家实验室);Naval Postgraduate School(海军研究生学院);Virginia Tech(弗吉尼亚理工大学)

Henry Waterhouse, Maciej Waruszewski, Lucas C. Wilcox, Timothy Warburton, Francis X. Giraldo

AI总结:

本文研究了在GPU上实现熵稳定间断伽辽金方法的性能,针对三维问题展示了求解器的高效性和能效,对比CPU代码显示GPU性能快10倍且能耗低13倍。

摘要:

本文实现了用于可压缩欧拉方程的熵稳定间断伽辽金方法,包含浮力项,应用于图形处理单元(GPU)硬件。我们测量了求解器在三维问题上的性能:上升热泡和通道中的巴克林 instability。在NVIDIA A100硬件上,求解器在最计算密集的内核(体积项)中达到了接近64位浮点峰值性能的70%。我们还展示了求解器的强标量性和弱标量性性能,并与高度优化的CPU代码进行比较,显示GPU内核比CPU代码快10倍且能效高13倍。我们还展示了当在32位浮点峰值性能下运行时,求解器达到预期的2倍加速。我们讨论了实现最终GPU实现所采用的不同修改,并测量了每种实现策略的性能增益,从减少复杂操作和内存交通以及负载平衡等方面。我们还扩展了对称性基础的通量节省到非对称的重力项,保留了对称通量所实现的近全因子2倍加速。

英文摘要:

The entropy-stable discontinuous Galerkin method for compressible Euler equations with buoyancy is implemented on graphics processing unit (GPU) hardware. We measure the performance of the solver on three-dimensional problems: the rising thermal bubble and the baroclinic instability in a channel. On NVIDIA A100 hardware, the solver achieves nearly 70\% of 64-bit floating-point peak performance for the most computationally expensive kernel (volume terms) and significantly reduces the computational overhead typically incurred by two point entropy-stable fluxes in the volume terms. We also present impressive strong and weak scaling performance of the solver and compare to a highly-optimized central processing unit (CPU) code showing that the GPU kernels are a factor of $10\times$ faster and better than $13\times$ more energy efficient than the CPU code. We also show that the solver achieves the expected $2\times$ speedup when run at 32-bit floating-point peak performance. We discuss the different modifications that we implemented to reach the final form of the GPU implementation and measure the performance gain of each of the implementation strategies ranging from reduction in complex operations and memory traffic as well as load balancing. We also extend symmetry-based flux savings to the non-symmetric gravity term, preserving nearly the full factor-of-two speedup achieved for the symmetric flux.

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

↑