HiPIMS-CUDA
HiPIMS-CUDA copied to clipboard
Global time step synchronization in multi-GPU env
Dear HEMLab Team,
Thanks for your open-source model as a well-established example for multi-GPU-based hydrodynamic solver. Currently, I test the strategy of global minimum time step synchronization used in HiPIMS in our multi-thread-based model
https://github.com/HEMLab/HiPIMS-CUDA/blob/e6f4b94dc2b429e2fa378f23153e6f20c687abd2/apps/cudaMultiGPUsFloodSolver/cuda_mgpus_flood_solver.cu#L342
And I find this strategy can not always guarantee the global minimum since read-modify-write operation can cause race conditions even for atomic variables. In my case, this problem can cause some locally unconverged solutions during hydrodynamic simulation.
If possible, could you please check this problem in HiPIMS.
Thanks!