Skip to content

Commit 7268c89

Browse files
Update test/cuda/cuda.jl
Co-authored-by: Carlo Lucibello <carlo.lucibello@gmail.com>
1 parent 6e79d64 commit 7268c89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cuda/cuda.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ end
4444
@test (repr("text/plain", y); true)
4545

4646
gA = rand(3, 3) |> gpu;
47-
@test gradient(A -> sum(A * goh), gA)[1] isa CuArray
47+
@test gradient(A -> sum(A * y), gA)[1] isa CuArray
4848
end
4949

5050
@testset "onecold gpu" begin

0 commit comments

Comments
 (0)