Skip to content
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

QUDA's device-side RNG needs to be updated to support global volumes > 2^31 - 1 #1513

Open
weinbe2 opened this issue Nov 6, 2024 · 0 comments
Assignees
Labels

Comments

@weinbe2
Copy link
Contributor

weinbe2 commented Nov 6, 2024

As part of initializing QUDA's hypercubic RNG, it needs to compute the global lattice index corresponding to each local site. This is currently accumulated into an int32: https://github.com/lattice/quda/blob/develop/include/kernels/random_init.cuh#L49

For sufficiently large global volumes (such as MILC's 192^3x384 configurations) this can overflow leading to identical streams across different global lattice sites. The high-level solution is to promote this value to a uint64, but that will require further changes under the hood.

@weinbe2 weinbe2 added the bug label Nov 6, 2024
@weinbe2 weinbe2 self-assigned this Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant