[WIP] Skip tests using managed memory if CU_DEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS == 0#1576
[WIP] Skip tests using managed memory if CU_DEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS == 0#1576rwgk wants to merge 4 commits intoNVIDIA:mainfrom
CU_DEVICE_ATTRIBUTE_CONCURRENT_MANAGED_ACCESS == 0#1576Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
The temporary commit bddca29 is a trick to identify the tests we need to skip. Full build and test logs (internal access only); |
Treat missing cuMemAllocManaged as disabled access and gate managed-memory test paths in cuda_core and cuda_bindings to avoid false failures. Co-authored-by: Cursor <cursoragent@cursor.com>
…_core/tests/test_launcher.py::test_launch_invalid_values
|
I backed out the band-aid change made with PR #1567 (commit 85f76f5) because it could later mask if we miss skips. Cursor-generated skips (commit b9f8452) pass local testing, with the Running the CI to see if we still have tests that depend on |
|
/ok to test |
|
Move the managed-memory skip logic into cuda_python_test_helpers and point bindings/core tests at the shared module, with path bootstrapping to prefer in-repo helpers. This avoids relying on bindings test helpers that are absent in 12.9.x wheels. Co-authored-by: Cursor <cursoragent@cursor.com>
71f271a to
a48565f
Compare
|
Closing in favor of #1607 |
Removed preview folders for the following PRs: - PR #1576
|
It looks like #1618/#1607 turned out different from what I was aiming for in this PR: resolving Windows flakiness. Reopening, so I don't forget to come back to this. (I got stuck a bit with this PR because of what's now solved under the pending #1218, specifically #1218 — Once that's merged, the test changes here should be easy.) |
Closes nvbug 5815123
Background: #1539
This PR will have two stages: 1. identify the tests we need to skip, 2. add the skips