Repository navigation
Conversation
Seven test_cuda.py tests (cuGraphGetId, cuGraphExecGetId, cuGraphNodeGetLocalId, cuGraphNodeGetToolsId, cuGraphNodeGetContainingGraph, cuStreamGetDevResource, cuDevSmResourceSplit) exercise driver APIs the CUDA 12 bindings do not have, so their skip condition is always true in this root. test_nvfatbin_add_tile_ir needs nvFatbin 13.1+, which is outside the cuda.bindings 12.x support policy (any Toolkit 12.y). Delete them, along with the TileIR fixture data and get_version helper only they used. The cuda_bindings_13 copies are unchanged. Closes NVIDIA#3591. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Summary
Change: Other · Severity of issue fixed: Low Merge Risk:
|
Contributor
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3591. Part of #2077.
Summary
Eight tests in
cuda_bindings_12could never run there, because they exercise APIs the CUDA 12 bindings don't have. They were added for CTK 13.1 (#1337, #1467) when one test suite served both majors, and the CUDA 12 root kept them. This PR deletes them fromcuda_bindings_12:driver_version_less_than(13010) or not supportsCudaAPI(...). None of these functions exists incuda_bindings_12/cuda/bindings/cydriver.pxd, so the condition is always true in this root, whatever the driver.test_nvfatbin_add_tile_irneeds nvFatbin 13.1+. cuda.pathfinder could load a CUDA 13 nvFatbin for the 12.x bindings (it trieslibnvfatbin.so.13first), but the support policy (cuda_bindings_12/docs/source/support.rst, item 3) is that "cuda.bindings12.x supports any Toolkit 12.y". So that pairing is unsupported, and no CI configuration is added for it. The generatednvFatbinAddTileIRbinding in the CUDA 12 root is left alone (generated output).cuda_bindings_13keeps all eight tests, which pass in its 30 configurations, so no change is needed there.Evidence
CI coverage: on
main, all eight tests skip in all 20 CUDA 12 configurations ("Requires CUDA 13.1+" or "TileIR API is not supported in CUDA < 13.1"). After this change they no longer exist incuda_bindings_12, sotoolshed/find_skipped_tests.pyno longer reports them.Locally (cuda-bindings 12.9.11): the remaining tests in
cuda_bindings_12/tests/test_cuda.pyandtest_nvfatbin.pypass (106 passed).Confirming in CI: no CUDA 12 cuda.bindings job in this PR's CI run should report any of the eight tests. For example:
Merge Danger
Door: two-way. Test-only change.
Blast Radius: two test files in
cuda_bindings_12; only tests that could never run are removed.Reviewers: please feel free to push commits directly to this PR to improve it.
🤖 Generated with Claude Code