Reviving this old thread to share a small news for AMD users.
I converted the CUDA code to AMD HIP/ROCm, to perform calculations of AMD Radeon GPUs.
Code is here https://github.com/kwahoo2/DualSPHysics
https://github.com/DualSPHysics/DualSPHysics/issues/3Performance difference is quite noticeable, testing the 01_DamBreak:
CPU, Ryzen 7 1700:
real 50m35,257s
user 749m2,203s
sys 0m14,726s
GPU, Radeon 6600XT
real 4m55,682s
user 6m55,447s
sys 0m6,649s
ROCm runs on Linux and AMD Radeon Vega, CDNA and RDNA2 GPUs.
https://rocmdocs.amd.com/en/latest/Curr ... Notes.html