Skip to content

Commit 2e4d701

Browse files
kshyattlkdvos
andauthored
Update test/cuda/tensors.jl
Co-authored-by: Lukas Devos <[email protected]>
1 parent 02e91b2 commit 2e4d701

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

test/cuda/tensors.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,7 @@ for V in spacelist
249249

250250
tr = @constinferred real(t)
251251
@test scalartype(tr) <: Real
252-
CUDA.@allowscalar begin
253-
@test real(convert(Array, t)) == convert(Array, tr)
254-
end
252+
@test real(collect(t)) == collect(tr)
255253

256254
ti = @constinferred imag(t)
257255
@test scalartype(ti) <: Real

0 commit comments

Comments
 (0)