Physics > Computational Physics
[Submitted on 22 Jul 2022 (v1), last revised 17 May 2023 (this version, v2)]
Title:Fast, feature-rich weakly-compressible SPH on GPU: coding strategies and compiler choices
View PDFAbstract: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.
Submission history
From: Giuseppe Bilotta [view email][v1] Fri, 22 Jul 2022 20:38:49 UTC (132 KB)
[v2] Wed, 17 May 2023 17:11:47 UTC (902 KB)
Current browse context:
physics.comp-ph
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
Connected Papers (What is Connected Papers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.