Skip to content

Commit 11d0acc

Browse files
committed
No tpu float64 complex
1 parent 5d1ecd3 commit 11d0acc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/complex.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
using Test
22
using Reactant
33

4+
if !contains(string(Reactant.devices()[1]), "TPU")
5+
46
@testset "conj" begin
57
@testset "$(typeof(x))" for x in (1.0, 1.0 + 2.0im)
68
x_concrete = Reactant.to_rarray(x)
@@ -118,3 +120,5 @@ end
118120
@test @jit(Complex(x, y_ra)) == Complex(x, y)
119121
@test @jit(Complex(x_ra)) == Complex(x) == @jit(Complex(x_ra, 0))
120122
end
123+
124+
end

0 commit comments

Comments
 (0)