Commit ab9a3ab
committed
test(cuda.core): split managed-memory ops tests into tests/memory/
Move the managed-memory advise/prefetch/discard/discard_prefetch tests
(plus their TestLocation/TestLocationCoerce/TestPrefetch/TestDiscard/
TestDiscardPrefetch/TestAdvise classes and skip helpers) from
test_memory.py into tests/memory/test_managed_ops.py per Andy's nit.
Promote DummyDeviceMemoryResource to helpers.buffers so both files can
import it; the remaining DummyHost/DummyPinned/NullMemoryResource stay
in test_memory.py since they're only used there.
Broader memory-tests reorg ("and siblings": buffer/managed_resource/
pinned/vmm) tracked as a follow-up cleanup PR to keep this diff focused.1 parent 10de998 commit ab9a3ab
3 files changed
Lines changed: 737 additions & 715 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
21 | 46 | | |
22 | 47 | | |
23 | 48 | | |
| |||
0 commit comments