Skip to content

Commit 9225caa

Browse files
committed
Only test if unified memory is explicitly supported
1 parent 24eeb55 commit 9225caa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/test.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ function unittest_testsuite(Backend, backend_str, backend_mod, BackendArrayT; sk
8383
U = allocate(backend, Float32, 5; unified)
8484
if unified
8585
@test U[3] isa Float32
86-
else
87-
@test_throws ErrorException U[3]
8886
end
8987

9088
x = allocate(backend, Float32, 5)

0 commit comments

Comments
 (0)