diff --git a/test/ext_amdgpu/basic.jl b/test/ext_amdgpu/basic.jl index 385f0e713f..b7bbb286e5 100644 --- a/test/ext_amdgpu/basic.jl +++ b/test/ext_amdgpu/basic.jl @@ -88,7 +88,7 @@ end @testset "cpu and gpu on RNGs" begin crng = Random.default_rng() - grng = gpu(rng) + grng = gpu(crng) @test grng isa AMDGPU.rocRAND.RNG @test cpu(grng) === crng end