Skip to content

Update CUDA Python project list#1339

Merged
leofang merged 10 commits intoNVIDIA:mainfrom
leofang:program_expansion
Dec 9, 2025
Merged

Update CUDA Python project list#1339
leofang merged 10 commits intoNVIDIA:mainfrom
leofang:program_expansion

Conversation

@leofang
Copy link
Copy Markdown
Member

@leofang leofang commented Dec 8, 2025

Description

Make the list of projects under the CUDA Python program up-to-date upon internal requests.

Components Added

  • cuda.tile - CUDA Tile programming model DSL
  • nvshmem4py - NVSHMEM PGAS programming interface
  • NSIGHT Python - Kernel profiling with Nsight Tools
  • CUPTI Python - CUPTI profiling tool APIs

Components Updated

  • Renamed cuda.cccl.cooperativecuda.coop
  • Renamed cuda.cccl.parallelcuda.compute
  • Enhanced nvmath-python description to include distributed APIs
  • Updated numba.cuda to specify SIMT programming model

URL Corrections

  • cuda.coop: Updated URL from cccl/python/cooperative to cccl/python/coop
  • cuda.compute: Updated URL from cccl/python/parallel to cccl/python/compute
  • Applied corrections to README.md, DESCRIPTION.rst, index.rst, and conf.py

Sphinx Configuration Updates

  • Updated rst_epilog in cuda_python/docs/source/conf.py to drop mentions of projects that do not use CUDA_PYTHON_DOMAIN
  • This ensures RST cross-references work correctly across all documentation files

Additional Fixes

  • Fixed capitalization: "pythonic" → "Pythonic"
  • Fixed grammar: "interfaces are" → "interfaces is"
  • Updated wording: "bring up" → "introduce", "is now" → "is being restructured to become"
  • Added cuda.pathfinder to DESCRIPTION.rst (was missing)

Checklist

  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

leofang and others added 8 commits December 8, 2025 02:42
Co-authored-by: leofang <5534781+leofang@users.noreply.github.com>
Co-authored-by: leofang <5534781+leofang@users.noreply.github.com>
Co-authored-by: leofang <5534781+leofang@users.noreply.github.com>
Update cuda_python documentation to match README.md component list
@leofang leofang added this to the cuda.core beta 10 milestone Dec 8, 2025
@leofang leofang requested review from aterrel and kkraus14 December 8, 2025 03:20
@leofang leofang self-assigned this Dec 8, 2025
@leofang leofang added documentation Improvements or additions to documentation P1 Medium priority - Should do labels Dec 8, 2025
@copy-pr-bot
Copy link
Copy Markdown
Contributor

copy-pr-bot Bot commented Dec 8, 2025

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.

Comment thread README.md
* [cuda.coop](https://nvidia.github.io/cccl/python/coop): A Python module providing CCCL's reusable block-wide and warp-wide *device* primitives for use within Numba CUDA kernels
* [cuda.compute](https://nvidia.github.io/cccl/python/compute): A Python module for easy access to CCCL's highly efficient and customizable parallel algorithms, like `sort`, `scan`, `reduce`, `transform`, etc. that are callable on the *host*
* [numba.cuda](https://nvidia.github.io/numba-cuda/): A Python DSL that exposes CUDA **SIMT** programming model and compiles a restricted subset of Python code into CUDA kernels and device functions
* [cuda.tile](https://docs.nvidia.com/cuda/cutile-python/): A new Python DSL that exposes CUDA **Tile** programming model and allows users to write NumPy-like code in CUDA kernels
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @aterrel for vis

Comment thread README.md Outdated
Comment thread README.md
* [numba.cuda](https://nvidia.github.io/numba-cuda/): A Python DSL that exposes CUDA **SIMT** programming model and compiles a restricted subset of Python code into CUDA kernels and device functions
* [cuda.tile](https://docs.nvidia.com/cuda/cutile-python/): A new Python DSL that exposes CUDA **Tile** programming model and allows users to write NumPy-like code in CUDA kernels
* [nvmath-python](https://docs.nvidia.com/cuda/nvmath-python/latest): Pythonic access to NVIDIA CPU & GPU Math Libraries, with [*host*](https://docs.nvidia.com/cuda/nvmath-python/latest/overview.html#host-apis), [*device*](https://docs.nvidia.com/cuda/nvmath-python/latest/overview.html#device-apis), and distributed [*distributed*](https://docs.nvidia.com/cuda/nvmath-python/latest/distributed-apis/index.html) APIs. It also provides low-level Python bindings to host C APIs ([nvmath.bindings](https://docs.nvidia.com/cuda/nvmath-python/latest/bindings/index.html)).
* [nvshmem4py](https://docs.nvidia.com/nvshmem/api/api/language_bindings/python/index.html): Pythonic interface to the NVSHMEM library, enabling Python applications to leverage NVSHMEM's high-performance PGAS (Partitioned Global Address Space) programming model for GPU-accelerated computing
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cc @benhg for vis

Comment thread README.md Outdated
@leofang leofang requested a review from rparolin December 8, 2025 14:13
@leofang
Copy link
Copy Markdown
Member Author

leofang commented Dec 8, 2025

/ok to test 2f5339b

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Dec 8, 2025

Comment thread README.md Outdated
Comment thread cuda_python/DESCRIPTION.rst Outdated
Comment thread cuda_python/docs/source/index.rst Outdated
Comment thread README.md Outdated
Comment thread cuda_python/DESCRIPTION.rst Outdated
Comment thread cuda_python/docs/source/index.rst Outdated
Comment thread cuda_python/docs/source/index.rst Outdated
Comment thread cuda_python/docs/source/index.rst Outdated
Co-authored-by: Juan Galvez <jjgalvez@msn.com>
@leofang
Copy link
Copy Markdown
Member Author

leofang commented Dec 8, 2025

/ok to test e6a1cb7

@leofang
Copy link
Copy Markdown
Member Author

leofang commented Dec 8, 2025

This is ready.

Copy link
Copy Markdown
Contributor

@rwgk rwgk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I ran this in Cursor:

Could you please obtain the git diff --merge-base main for this branch? Could you please identify any inconsistencies between the duplicate information between the three changed .rst and .md files?

Conclusion: there are no substantive inconsistencies in the duplicated information across these three changed documentation files; only formatting/markup differences appropriate to Markdown vs reStructuredText.

Comment thread cuda_python/docs/source/index.rst Outdated
- `cuda.coop`_: A Python module providing CCCL's reusable block-wide and warp-wide *device* primitives for use within Numba CUDA kernels
- `cuda.compute`_: A Python module for easy access to CCCL's highly efficient and customizable parallel algorithms, like ``sort``, ``scan``, ``reduce``, ``transform``, etc. that are callable on the *host*
- `numba.cuda`_: A Python DSL that exposes CUDA **SIMT** programming model and compiles a restricted subset of Python code into CUDA kernels and device functions
- `cuda.tile`_: A new Python DSL that exposes CUDA **Tile** programming model and allows users to write NumPy-like code in CUDA kernels
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"new" will get stale

Could we write something like: A Python DSL (GA v1.0.0 released with CTK 13.1) that exposes ...?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stephen Jones doesn't want us to call CUDA a DSL.

Suggest:

The CUDA Tile programming model embeded in Python, it allows users to write NumPy-like code in CUDA kernels

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aterrel would you mind sending a PR to update it? 🙂

Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread cuda_python/DESCRIPTION.rst Outdated
Comment thread cuda_python/DESCRIPTION.rst Outdated
Comment thread cuda_python/docs/source/index.rst Outdated
Comment thread cuda_python/DESCRIPTION.rst Outdated
Comment thread cuda_python/docs/source/index.rst Outdated
Comment thread cuda_python/DESCRIPTION.rst Outdated
@leofang
Copy link
Copy Markdown
Member Author

leofang commented Dec 9, 2025

Thanks to all!

@leofang leofang merged commit 95d5844 into NVIDIA:main Dec 9, 2025
1 check passed
@leofang leofang deleted the program_expansion branch December 9, 2025 00:56
github-actions Bot pushed a commit that referenced this pull request Dec 9, 2025
Removed preview folders for the following PRs:
- PR #1339
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation P1 Medium priority - Should do

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants