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.
翻译:GPUSPH是首次采用使用CUDA完全在GPU上运行的低压滑动粒子流体动力学法。 2018年6月发布的版本5对守则进行了彻底的重组,对若干特点进行了结构化的落实,并对大多数重型计算内核进行了专门优化。 虽然这些改进带来了可衡量的性能提升(视测试案例和硬件配置而定,从15 ⁇ 到30 ⁇ 不等),但也发现了荷兰航天局提供的官方CUDA编译员(\ textt{nvcc})的一些局限性,特别是在开发者友好性方面,这导致努力支持替代编译员,特别是Clang,并取得了令人惊讶的业绩收益。