Repository navigation
Conversation
…le (#6843633) cuda-bindings 13.4.2 exposes 106 CUresult members while cuda.core 1.2.1's frozen fallback table (capped at CTK 13.1.1/13.3) only covers 103, so test_frozen_driver_table_covers_all_curesult_members fails on every Python version tested. Add the 3 members introduced by cuda-bindings 13.4.1+: - CUDA_ERROR_MULTICAST_RESOURCE_FULL (47) - CUDA_ERROR_INSUFFICIENT_LOADER_VERSION (227) - CUDA_ERROR_FABRIC_NOT_READY (919) Text is copied from the cuda.bindings.driver.CUresult member docstrings (cuda-bindings==13.4.2), cleaned the same way DocstringBackedExplanations.get() would clean them. Bug 6843633
|
/ok to test 74376e7 |
|
rwgk
left a comment
There was a problem hiding this comment.
cuda_core/cuda/core/_utils/driver_cu_result_explanations_frozen.py should never be touched. Give me a moment to dig up a recent relevant PR.
|
I found the PR I had in mind: I'm still working on getting my head around the nvbug situation. |
|
GPT-6.1-Sol ultra analysis: Here’s how we got there:
So I can’t establish whether Jinfeng’s agent read your comment. The branch it worked on never received that comment or its associated correction, and both the branch’s checklist and the bug guidance pointed toward updating the table. There is also a CI coverage gap: the release branch builds against CTK 13.4.2 but tests older toolkit minors, which select corresponding published bindings. Building 13.4.2 therefore does not ensure cuda-core was tested with bindings 13.4.2. Dependency selection. I recommend replacing PR 3066’s table expansion with a backport of PR 2792’s correction. For SWQA testing the existing immutable 1.2.1 tag, use the same targeted deselection already present in nightly CI. |
|
Fixed in backport PR #3068 |
Pull request was closed
cuda.core1.2.1's frozenCUresultfallback table is missing 3 members introduced in CTK 13.4:CUDA_ERROR_MULTICAST_RESOURCE_FULL(47)CUDA_ERROR_INSUFFICIENT_LOADER_VERSION(227)CUDA_ERROR_FABRIC_NOT_READY(919)(name/value mapping per
cybind/assets/headers/driver/13.4.1/cuda.h: line 2818, line 3000, line 3429)Any env with
cuda-bindings>=13.4.1failstest_frozen_driver_table_covers_all_curesult_members. This adds the 3 entries and text from theCUresultdocstrings.Testing
Repro'd with
cuda-core[cu13]==1.2.1+cuda-bindings==13.4.2in a clean venv: the test fails before this patch and passes after.