Skip to content

Commit dd86ff2

Browse files
committed
test: now works
1 parent 17bcdea commit dd86ff2

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

test/sorting.jl

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,8 @@ end
188188
flastlinindices(x) = LinearIndices(x)[findlast(x)]
189189
flastlinindices(f, x) = LinearIndices(x)[findlast(f, x)]
190190

191-
@test ffirstlinindices(x) @jit(findfirst(x_ra)) skip = contains(
192-
string(Reactant.devices()[1]), "TPU"
193-
)
194-
@test flastlinindices(x) @jit(findlast(x_ra)) skip = contains(
195-
string(Reactant.devices()[1]), "TPU"
196-
)
191+
@test ffirstlinindices(x) @jit(findfirst(x_ra))
192+
@test flastlinindices(x) @jit(findlast(x_ra))
197193

198194
x = Int64[
199195
3 5 7 9
@@ -202,12 +198,8 @@ end
202198
]
203199
x_ra = Reactant.to_rarray(x)
204200

205-
@test ffirstlinindices(iseven, x) @jit(findfirst(iseven, x_ra)) skip = contains(
206-
string(Reactant.devices()[1]), "TPU"
207-
)
208-
@test flastlinindices(iseven, x) @jit(findlast(iseven, x_ra)) skip = contains(
209-
string(Reactant.devices()[1]), "TPU"
210-
)
201+
@test ffirstlinindices(iseven, x) @jit(findfirst(iseven, x_ra))
202+
@test flastlinindices(iseven, x) @jit(findlast(iseven, x_ra))
211203
end
212204

213205
@testset "approx top k lowering" begin

0 commit comments

Comments
 (0)