Skip to content

Commit f357320

Browse files
committed
Try to unbreak linalg test on nightly
1 parent a3af656 commit f357320

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/testsuite/linalg.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@
118118
gpu_b = AT{Float32}(undef, 128, 128) |> TR
119119

120120
gpu_c = copyto!(gpu_b, gpu_a)
121-
@test all(Array(gpu_b) .== Array(gpu_a))
122-
@test all(Array(gpu_c) .== Array(gpu_a))
121+
@test all(TR(Array(parent(gpu_b))) .== TR(Array(parent(gpu_a))))
122+
@test all(TR(Array(parent(gpu_c))) .== TR(Array(parent(gpu_a))))
123123
@test gpu_c isa TR
124124
end
125125
end

0 commit comments

Comments
 (0)