Repository navigation
Use uppercase cuDLA status names with backward-compatible aliases - #3307
Conversation
— codex GPT-6 on behalf of Ralf — Run cybind native generation for CUDA 13.4.2. The generated change gives cuDLA status members uppercase canonical names and retains the previous camel-case names as backward-compatible aliases. Signed-off-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
— codex GPT-6 on behalf of Ralf — Expect the uppercase canonical status name in CudlaError messages while retaining coverage of the legacy enum alias and checking its identity. Signed-off-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
|
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. |
|
/ok to test |
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Status enum names cuda_bindings_13/cuda/bindings/cudla.pyx, cuda_bindings_13/tests/cudla/test_cudla_bindings.py |
Status adds uppercase names and retains mixed-case names as aliases. The test checks that both names identify the same member and expects ERROR_INVALID_PARAM in the error string. |
Change: Refactor
Merge Risk: 
Minimal · up to 78ffb
-
No merge-blocking risk is identified for the status-name aliases.
Finishing Touches: 💡 1
-
🛠️ Fix failing CI checks: 💡
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
|
— codex GPT-6 on behalf of Ralf —
Description
cuDLA status enum members now use uppercase canonical names such as
Status.SUCCESSandStatus.ERROR_INVALID_PARAM. Existing camel-case names remain aliases to the same enum members.Regenerate the native bindings for CUDA 13.4.2 and update the error-message regression test:
CudlaErrorformats the canonical member name, so the message is nowERROR_INVALID_PARAM (1). The test continues constructing the error through the legacy alias and explicitly checks alias identity.Validation
pre-commit run --all-filespassed.Checklist