Commit 0af5bd4
test(cuda.core): cover AccessedBySet read methods (N7)
Per Leo's review on PR #1775 (test_managed_ops.py:1), add a test for
the read side of AccessedBySet: __iter__, __len__, __eq__, __repr__.
These are part of the public set-like API (alongside __contains__,
add(), discard(), and the setter, which are already covered) but
were untested.
The cu12 batch fallback path (Leo's other coverage point) is now
exercised by TestPrefetchBatch.test_same_location and
test_per_buffer_location running on cu12 CI — the
cuMemPrefetchBatchAsync skip was dropped in d75a7bd when the
fallback landed.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d75a7bd commit 0af5bd4
1 file changed
Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
598 | 625 | | |
599 | 626 | | |
600 | 627 | | |
| |||
0 commit comments