Support the driver error logging system
Open
@lijinf2 is already working on this.
Since May 28, 2026.
cuda.core
feature
P1
- Dominant language
- Cython
- Stars
- 3.4k
- Forks
- 329
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 116
Description
xref: https://docs.nvidia.com/cuda/cuda-c-programming-guide/#error-log-management
Current thinking:
- Prioritize for in-memory logging access (the file-based access can already be turned on easily by setting
CUDA_LOG_FILEso only a very sophisticated logging API on the Python side would add value) - Provide a hook to a custom Python logger
- Allow users to opt in via an API in
cuda.core.utils, say,cuda.core.utils.{enable,disable}_logging(). This is a global logging at the driver level, so scoped logging (ex: context manager) does not seem to make much sense.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.