Skip to content

Commit 84a17fa

Browse files
committed
[Test] Skip (again) CUDA integration tests when they are known to fail
1 parent 1e6037f commit 84a17fa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/integration/cuda.jl

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ function square!(x, y)
1818
end
1919

2020
# https://github.com/EnzymeAD/Reactant.jl/issues/614
21-
const skip_non_cuda_tests = true
21+
const skip_non_cuda_tests = v"1.11.0" <= VERSION < v"1.11.4"
2222

23-
@static if !Sys.isapple()
23+
@static if !Sys.isapple() || !skip_non_cuda_tests
2424
@testset "Square Kernel" begin
2525
oA = collect(1:1:64)
2626
A = Reactant.to_rarray(oA)
@@ -43,7 +43,7 @@ function sin!(x, y)
4343
return nothing
4444
end
4545

46-
@static if !Sys.isapple()
46+
@static if !Sys.isapple() || !skip_non_cuda_tests
4747
@testset "Sin Kernel" begin
4848
oA = collect(Float64, 1:1:64)
4949
A = Reactant.to_rarray(oA)
@@ -67,7 +67,7 @@ function smul!(x)
6767
return nothing
6868
end
6969

70-
@static if !Sys.isapple()
70+
@static if !Sys.isapple() || !skip_non_cuda_tests
7171
@testset "Constant Op Kernel" begin
7272
oA = collect(1:1:64)
7373
A = Reactant.to_rarray(oA)

0 commit comments

Comments
 (0)