Fix CUDA checkpoint restore args and generated API docs#2144
Open
kkraus14 wants to merge 1 commit into
Open
Conversation
Contributor
|
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. |
Collaborator
Author
|
/ok to test |
|
rparolin
approved these changes
May 27, 2026
ae8888c to
9ba2616
Compare
Collaborator
Author
|
/ok to test |
9ba2616 to
d9fa9ba
Compare
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.
Summary
sizeof(...)reserved-field spelling that causedCUcheckpointRestoreArgsto disappear.CUcheckpointRestoreArgs_stand related checkpoint structs are emitted with the correct fields.0.3.1.dev1711+g9f37ce73) so the generated files capture the fixed generator commit for traceability.cuda.bindingsAPI docs and remove the temporaryconf.pydocstring sanitizer now that cybind emits docstrings that Sphinx can parse directly.Validation
CUcheckpointRestoreArgsis present in all three and the generated layouts match the corresponding headers.cuda.hcheckpoint structs,sizeof(...)array expressions, and empty named structs; no additional checkpoint struct breakages were found.python -m py_compile cuda_bindings/docs/source/conf.pyCUcheckpointRestoreArgs, its fields, andcuCheckpointProcessRestorelinks as API objects, with no raw.. attribute::,.. method::,:param,:rtype, orcode-block:: textartifacts in the generated module pages.Notes
conf.pysanitizer.