Skip to content

New lowpp layer for nvrtc#2398

Merged
mdboom merged 3 commits into
NVIDIA:mainfrom
mdboom:nvrtc-cybind
Jul 23, 2026
Merged

New lowpp layer for nvrtc#2398
mdboom merged 3 commits into
NVIDIA:mainfrom
mdboom:nvrtc-cybind

Conversation

@mdboom

@mdboom mdboom commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Adds a new modern-generated version of the lowpp layer for nvrtc, and then updates all library code to use it.

As per the design document, this lands as cuda.bindings._v2.nvrtc, and then will be moved to cuda.bindings.v2.nvrtc once we are comfortable the API is stable.

The test update procedure is:

  • Copy any test files that reference nvrtc as-is to a new legacy_tests directory (and pytest also requires that we rename the file).
  • Update the existing test files to use the new API.

We should also disallow the use of the legacy API in the non-legacy_tests directory. That's currently blocked on #2384, so I created #2397 to follow-up on that later.

====

Porting cuda_core to use these new APIs will need to be follow-on work. Our dependency specs say that cuda_core has to work with older cuda_bindings, and of course they don't have this new API yet. So we will need to stage that appropriately.

@github-actions github-actions Bot added cuda.bindings Everything related to the cuda.bindings module cuda.core Everything related to the cuda.core module labels Jul 21, 2026
@github-actions

This comment has been minimized.

Comment thread cuda_bindings/docs/source/release/13.4.0-notes.rst Outdated
@isVoid
isVoid self-requested a review July 22, 2026 19:25
@mdboom
mdboom marked this pull request as draft July 22, 2026 21:03
@copy-pr-bot

copy-pr-bot Bot commented Jul 22, 2026

Copy link
Copy Markdown
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.

@mdboom

mdboom commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for the review, @isVoid. Marking as draft so we don't accidentally merge this until the generator-side is merged.

@mdboom
mdboom marked this pull request as ready for review July 22, 2026 21:07
@mdboom
mdboom enabled auto-merge (squash) July 22, 2026 21:07
@mdboom mdboom self-assigned this Jul 23, 2026
@mdboom mdboom added this to the cuda.bindings next milestone Jul 23, 2026
@mdboom mdboom added enhancement Any code-related improvements feature New feature or request labels Jul 23, 2026
@mdboom
mdboom merged commit cb56ab9 into NVIDIA:main Jul 23, 2026
108 of 112 checks passed
@github-actions

Copy link
Copy Markdown
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.bindings Everything related to the cuda.bindings module cuda.core Everything related to the cuda.core module enhancement Any code-related improvements feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants