Skip to content

Fix #789: Remove self-cycle in cuda.bindings.driver - #976

Merged
mdboom merged 1 commit into
NVIDIA:mainfrom
mdboom:issue789-5
Sep 17, 2025
Merged

mdboom merged 1 commit into
NVIDIA:mainfrom
mdboom:issue789-5

Conversation

@mdboom

@mdboom mdboom commented Sep 16, 2025

Copy link
Copy Markdown
Contributor

Description

This should hopefully fix the one last remaining cycle, which is from cuda.bindings.driver to itself.

It hopefully will fix things similarly to @gflegar's solution (#789 (comment)) without introducing any additional runtime checks.

@copy-pr-bot

copy-pr-bot Bot commented Sep 16, 2025

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 Sep 16, 2025

Copy link
Copy Markdown
Contributor Author

/ok to test

@github-actions

This comment has been minimized.

Comment thread cuda_bindings/cuda/bindings/_lib/utils.pxi.in
@leofang leofang added enhancement Any code-related improvements P0 High priority - Must do! cuda.bindings Everything related to the cuda.bindings module labels Sep 17, 2025
@leofang leofang added this to the cuda-python 13-next, 12-next milestone Sep 17, 2025
@gflegar

gflegar commented Sep 17, 2025

Copy link
Copy Markdown

I tried it out internally. It does indeed work for us. (Nice trick BTW!)

@mdboom
mdboom marked this pull request as ready for review September 17, 2025 22:40
@copy-pr-bot

copy-pr-bot Bot commented Sep 17, 2025

Copy link
Copy Markdown
Contributor

Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@mdboom
mdboom merged commit d8b4acc into NVIDIA:main Sep 17, 2025
52 checks passed
@mdboom
mdboom deleted the issue789-5 branch September 17, 2025 22:40
@github-actions

Copy link
Copy Markdown
Contributor
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 enhancement Any code-related improvements P0 High priority - Must do!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants