Calling repeat with a CUDA array changes the state of the random number generator

Launching kernels needs random numbers, CUDA.jl/src/compiler/execution.jl at e1e5be2b6bf17f03a367cebeb18c4645e593f80d · JuliaGPU/CUDA.jl · GitHub. Maybe that ought to use its own RNG?

1 Like