Skip to content

Commit

Permalink
Test for prefetch error
Browse files Browse the repository at this point in the history
  • Loading branch information
kshyatt committed Apr 5, 2020
1 parent 5f94713 commit e3176ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/memory.jl
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ end
let
src = Mem.alloc(Mem.Unified, nb)

@test_throws BoundsError Mem.prefetch(src, 2*nb; device=CUDAdrv.DEVICE_CPU)
#Mem.prefetch(src, nb; device=CUDAdrv.DEVICE_CPU)
Mem.advise(src, Mem.ADVISE_SET_READ_MOSTLY)

Expand Down

0 comments on commit e3176ac

Please sign in to comment.