arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.11328physics.comp-phcs.DCcs.NAmath.NAphysics.flu-dyn
收藏

GPU上快速、功能丰富的弱可压缩SPH:编码策略与编译器选择

Fast, feature-rich weakly-compressible SPH on GPU: coding strategies and compiler choices

Giuseppe Bilotta, Vito Zago, Alexis Hérault, Hendrik D. van Ettinger, Robert A. Dalrymple

AI总结:

GPUSPH版本5通过代码重构与内核优化提升了15%至30%的性能,并发现NVIDIA官方nvcc编译器的局限性,转而支持Clang编译器获得了意外的性能提升。

摘要:

GPUSPH是首个完全在GPU上使用CUDA运行的弱可压缩Smoothed Particle Hydrodynamics(光滑粒子流体动力学)方法实现。2018年6月发布的版本5对代码进行了彻底重构,为多项功能提供了更结构化的实现,并对大多数重负载计算内核进行了专门优化。这些改进带来了可测量的性能提升(根据测试用例和硬件配置,范围在15%到30%之间),同时也暴露了NVIDIA提供的官方CUDA编译器(nvcc)在开发者友好度方面的一些局限性。这促使我们致力于支持替代编译器,特别是Clang,并获得了令人惊讶的性能提升。

英文摘要:

GPUSPH was the first implementation of the weakly-compressible Smoothed Particle Hydrodynamics method to run entirely on GPU using CUDA. Version 5, released in June 2018, features a radical restructuring of the code, offering a more structured implementation of several features and specialized optimization of most heavy-duty computational kernels. While these improvements have led to a measurable performance boost (ranging from 15\% to 30\% depending on the test case and hardware configuration), it has also uncovered some of the limitations of the official CUDA compiler (\texttt{nvcc}) offered by NVIDIA, especially in regard to developer friendliness. This has led to an effort to support alternative compilers, particularly Clang, with surprising performance gains.

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

↑