Skip to content

cuda.core: report CUDA driver log messages via utils.register() - #3657

Draft
lijinf2 wants to merge 1 commit into
NVIDIA:mainfrom
lijinf2:261117_driver_log_design_v3
Draft

lijinf2 wants to merge 1 commit into
NVIDIA:mainfrom
lijinf2:261117_driver_log_design_v3

Conversation

@lijinf2

@lijinf2 lijinf2 commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Adds cuda.core.utils.register() / unregister(), which forward the CUDA driver's log (cuLog*) for the calling thread's cuda.core calls to a logging.Logger, or attach them as __notes__ on the raised CUDAError. Requires a CUDA 12.9+ driver. Closes #671.

🤖 Generated with Claude Code

testing readiness of cuLogs functionality. The new feature is still under design discussion.

@copy-pr-bot

copy-pr-bot Bot commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

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.

@github-actions github-actions Bot added the cuda.core Everything related to the cuda.core module label Nov 30, 2026
@lijinf2 lijinf2 added the feature New feature or request label Nov 30, 2026
@lijinf2 lijinf2 self-assigned this Nov 30, 2026
@lijinf2

lijinf2 commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

/ok to test 2628a5f

This branch has not been deployed

No deployments
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 feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Expose CUDA driver logging in cuda.core

1 participant