Skip to content

Add recent cuda.core examples and docs pixi workflow#1865

Merged
cpcloud merged 1 commit intoNVIDIA:mainfrom
cpcloud:add-recent-examples-1681
Apr 8, 2026
Merged

Add recent cuda.core examples and docs pixi workflow#1865
cpcloud merged 1 commit intoNVIDIA:mainfrom
cpcloud:add-recent-examples-1681

Conversation

@cpcloud
Copy link
Copy Markdown
Contributor

@cpcloud cpcloud commented Apr 6, 2026

Closes #1681.

Summary

  • add runnable cuda.core examples for Graph.update(), newer memory-pool APIs, and explicit StridedMemoryView constructors
  • gate the newer memory-pool example in the example test harness and refresh the interoperability docs links so the new examples are discoverable
  • add a dedicated pixi docs environment and docs-build / docs-build-latest / docs-debug tasks so local Sphinx iteration matches CI

Test plan

  • pixi run -e examples python -m py_compile examples/graph_update.py examples/memory_pool_resources.py examples/strided_memory_view_constructors.py tests/example_tests/test_basic_examples.py
  • pixi run -e examples python examples/graph_update.py
  • pixi run -e examples python examples/strided_memory_view_constructors.py
  • pixi run -e examples python examples/memory_pool_resources.py
  • pixi run docs-build-latest
  • pixi run docs-debug
  • pixi run docs-build

Cover newer graph, memory resource, and StridedMemoryView APIs with runnable examples, and make the Sphinx docs environment reproducible so examples and docs are easier to iterate locally.

Made-with: Cursor
@cpcloud cpcloud added this to the cuda.core v1.0.0 milestone Apr 6, 2026
@cpcloud cpcloud added the cuda.core Everything related to the cuda.core module label Apr 6, 2026
@cpcloud cpcloud self-assigned this Apr 6, 2026
@cpcloud cpcloud added the documentation Improvements or additions to documentation label Apr 6, 2026
@github-actions

This comment has been minimized.

@cpcloud cpcloud merged commit 974ed1d into NVIDIA:main Apr 8, 2026
91 of 95 checks passed
@cpcloud cpcloud deleted the add-recent-examples-1681 branch April 8, 2026 10:31
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 8, 2026

Doc Preview CI
Preview removed because the pull request was closed or merged.

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

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Examples: Circle back and add examples for all recently added features / APIs

2 participants