Skip to content

Global time step synchronization in multi-GPU env #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
LllC-mmd opened this issue Feb 7, 2025 · 0 comments
Open

Global time step synchronization in multi-GPU env #6

LllC-mmd opened this issue Feb 7, 2025 · 0 comments

Comments

@LllC-mmd
Copy link

LllC-mmd commented Feb 7, 2025

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

dt_global = std::min(dt_global.load(), time_controller.dt());

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant