Skip to content

Commit 687adbc

Browse files
committed
mark one broken, not a regression
1 parent 19862d1 commit 687adbc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/cuda.jl

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ end
2525
@test g_gpu isa CuArray
2626
@test g_gpu |> collect g
2727

28-
# https://github.com/FluxML/Zygote.jl/issues/1027
28+
# https://github.com/FluxML/Zygote.jl/issues/1027 # status on Zygote v0.6.14, CUDA v3.3.0 in comments:
2929
@test gradient(x -> sum(x .!= 0), a_gpu) == (nothing,) # was MethodError: no method matching iterate(::Nothing)
30+
@test gradient(x -> sum(x .> 3), a_gpu) == (nothing,)
3031
g3 = gradient(x -> sum(x .^ 3) / count(x .> 3), a)[1] # was Can't differentiate gc_preserve_end expression
31-
@test cu(g3) gradient(x -> sum(x .^ 3) / sum(x .> 3), a_gpu)[1] # was KernelException -- Zygote v0.6.14, CUDA v3.3.0
32+
@test_skip cu(g3) gradient(x -> sum(x .^ 3) / sum(x .> 3), a_gpu)[1] # was KernelException -- not fixed by PR #1018
33+
@test cu(g3) gradient(x -> sum(x .^ 3) / count(x .> 3), a_gpu)[1]
3234
end
3335

3436
@testset "sum(f, x)" begin

0 commit comments

Comments
 (0)