Skip to content

[codex] Regenerate CUDA bindings docs references#2167

Draft
kkraus14 wants to merge 5 commits into
mainfrom
codex/docs-pyobj-reference-fixes
Draft

[codex] Regenerate CUDA bindings docs references#2167
kkraus14 wants to merge 5 commits into
mainfrom
codex/docs-pyobj-reference-fixes

Conversation

@kkraus14
Copy link
Copy Markdown
Collaborator

@kkraus14 kkraus14 commented Jun 4, 2026

What changed

  • Regenerate cuda.bindings generated Cython and module docs from the cybind docs reference fixes.
  • Convert generated CUDA Doxygen references to Sphinx :func:, :py:obj:, and :ref: roles when the corresponding Python API/object exists.
  • Preserve C/device-only CUDA symbols such as cudaGraphKernelNodeUpdatesApply as literal text instead of linking them to an incorrect Python object.

Split

This is split out of #2159 so that #2159 stays focused on lychee/link checking.

The generator-side changes are in cybind MR !402:
https://gitlab-master.nvidia.com/leof/cybind/-/merge_requests/402

Validation

  • UV_CACHE_DIR=/tmp/uv-cache uv run --group test pytest -p no:cacheprovider cybind/tests/test_legacy_cython_gen.py -q
  • UV_CACHE_DIR=/tmp/uv-cache uv run ruff check --no-cache cybind/_doc_gen.py cybind/legacy_cython_gen/main.py cybind/tests/test_legacy_cython_gen.py
  • PATH=/home/keith/git/cuda-python-private/.pixi/envs/cuda13/bin:$PATH UV_CACHE_DIR=/tmp/uv-cache uv run cybind --ctk-target-version 13.3.0 --generate driver runtime nvrtc --output-dir /tmp/cybind-cuda-python-regenerated21
  • pixi run --manifest-path cuda_bindings -e docs build-docs

@kkraus14 kkraus14 added this to the cuda.bindings next milestone Jun 4, 2026
@kkraus14 kkraus14 added documentation Improvements or additions to documentation cuda.bindings Everything related to the cuda.bindings module labels Jun 4, 2026
@copy-pr-bot
Copy link
Copy Markdown
Contributor

copy-pr-bot Bot commented Jun 4, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@kkraus14
Copy link
Copy Markdown
Collaborator Author

kkraus14 commented Jun 4, 2026

/ok to test

@copy-pr-bot
Copy link
Copy Markdown
Contributor

copy-pr-bot Bot commented Jun 4, 2026

/ok to test

@kkraus14, there was an error processing your request: E1

See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/1/

@kkraus14 kkraus14 force-pushed the codex/docs-pyobj-reference-fixes branch from a246c7f to 4ccb9c1 Compare June 4, 2026 17:15
@copy-pr-bot
Copy link
Copy Markdown
Contributor

copy-pr-bot Bot commented Jun 4, 2026

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cuda.bindings Everything related to the cuda.bindings module documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant