We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Tested on main. Seems to be a Metal-specific issue as the test passes with JLArrays.
using Metal, GPUArrays, Random, Test begin AT = MtlArray a = AT(zeros(Float32, 1000,1000)) b = AT(zeros(Float32, 1000,1000)) rng = GPUArrays.default_rng(AT) Random.seed!(rng, 1234) s1 = copy(rng.state) rand!(rng, a) s2 = copy(rng.state) Random.seed!(rng, 1234) s3 = copy(rng.state) rand!(rng, b) s4 = copy(rng.state) @show s1 != s2 @show s3 != s4 @show s1 == s3 @show s2 == s4 @show collect(a) == collect(b) end
The text was updated successfully, but these errors were encountered:
Ok this also affects CUDA.jl. Should I also submit this to CUDA.jl or is this a GPUArrays issue?
Sorry, something went wrong.
If it's because of the GPUArrays RNG it is probably better to move it there.
Successfully merging a pull request may close this issue.
Tested on main. Seems to be a Metal-specific issue as the test passes with JLArrays.
The text was updated successfully, but these errors were encountered: