Skip to content

Commit 18a0a52

Browse files
committed
Move even more testsuite comparisons to the CPU.
1 parent fa6e0b3 commit 18a0a52

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/testsuite/linalg.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
rand!(gpu_a)
3232
gpu_c = copyto!(gpu_b, TR(gpu_a))
33-
@test all(gpu_b .== TR(gpu_a))
33+
@test all(Array(gpu_b) .== TR(Array(gpu_a)))
3434
@test gpu_c isa AT
3535
end
3636

@@ -43,8 +43,8 @@
4343
gpu_b = AT{Float32}(undef, 128, 128) |> TR
4444

4545
gpu_c = copyto!(gpu_b, gpu_a)
46-
@test all(gpu_b .== gpu_a)
47-
@test all(gpu_c .== gpu_a)
46+
@test all(Array(gpu_b) .== Array(gpu_a))
47+
@test all(Array(gpu_c) .== Array(gpu_a))
4848
@test gpu_c isa TR
4949
end
5050
end

0 commit comments

Comments
 (0)