You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Capture Enum Underlying Type in AST_CANOPY, documenting the C++/Python Enum lowering (#267)
This PR adds feature to capture the c++ enum underlying integral type in
ast_canopy. As well as capturing the handling of binding to function
with enum argument in docs.
This PR also tests whether `cuda.bindings.runtime.cudaRoundMode` works
well with existing bindings.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Enum underlying integer types are exposed to Python bindings (includes
cudaRoundMode); enum handling and registration improved.
* **Refactor**
* Call/return handling internals simplified (no user-visible API
change); several type-resolution flows consolidated.
* Public typing and metadata structures extended to include enum
underlying-type information.
* **Tests**
* Added and updated tests exercising enum underlying types, device-side
enum helpers, and streamlined binding-generation fixtures.
* **Documentation**
* FAQ expanded with notes on enum binding and lowering behavior.
<sub>✏️ Tip: You can customize this high-level summary in your review
settings.</sub>
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: Michael Wang <isVoid@users.noreply.github.com>
0 commit comments