-
Notifications
You must be signed in to change notification settings - Fork 221
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
sum!
accumulates when called multiple times
#370
Labels
Comments
Noticed I was on CUDA v1.2.0 so I tried upgrading to v1.2.1 but the issue is still there. Also tried on a Power9 machine with a V100 and issue is there too. |
ali-ramadhan
added a commit
to CliMA/Oceananigans.jl
that referenced
this issue
Aug 17, 2020
ali-ramadhan
added a commit
to CliMA/Oceananigans.jl
that referenced
this issue
Aug 28, 2020
ali-ramadhan
added a commit
to CliMA/Oceananigans.jl
that referenced
this issue
May 20, 2021
ali-ramadhan
added a commit
to CliMA/Oceananigans.jl
that referenced
this issue
May 21, 2021
Remove work-around for JuliaGPU/CUDA.jl#370
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Calling
sum!
twice should produce the exact same answer but it seems to be accumulating.To reproduce
The Minimal Working Example (MWE) for this bug:
Manifest.toml
Expected behavior
The second call to
sum!(c, C)
should return the exact same answer as the first call.Version info
Details on Julia:
Details on CUDA:
Additional context
Zeroing out the result array seems to be a workaround:
The text was updated successfully, but these errors were encountered: