We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22c9dc2 commit 58c1c51Copy full SHA for 58c1c51
test/probprog/random.jl
@@ -50,6 +50,15 @@ end
50
@test Array(k3) == [0xa20e4081f71f4ea9, 0x2f36b83d4e83f1ba]
51
@test Array(k4) == [0xe4e8dfbe9312778b, 0x982ff5502e6ccb51]
52
end
53
+
54
+ @testset "N=3, Complex Seed" begin
55
+ seed = ConcreteRArray(UInt64[0x96eb2785b435a7fa, 0x12d488db5338d363])
56
+ k1, k2, k3 = @jit optimize = :probprog random_split(seed, Val(3))
57
58
+ @test Array(k1) == [0x5d72ef94c64bb847, 0x12efbc9bfdd8d39a]
59
+ @test Array(k2) == [0x2e413c499508b247, 0xf5a39577425f372c]
60
+ @test Array(k3) == [0xab99221e8f5b3649, 0xffbe16929f90ee63]
61
+ end
62
63
64
# Similarly, `enzyme.random` op is not intended to be emitted directly in Reactant-land.
0 commit comments