We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1901868 commit 2e2233bCopy full SHA for 2e2233b
test/testsuite/linalg.jl
@@ -124,8 +124,8 @@
124
gpu_b = AT{Float32}(undef, 128, 128) |> TR
125
126
gpu_c = copyto!(gpu_b, gpu_a)
127
- @test all(Array(gpu_b) .== Array(gpu_a))
128
- @test all(Array(gpu_c) .== Array(gpu_a))
+ @test all(TR(Array(parent(gpu_b))) .== TR(Array(parent(gpu_a))))
+ @test all(TR(Array(parent(gpu_c))) .== TR(Array(parent(gpu_a))))
129
@test gpu_c isa TR
130
end
131
0 commit comments