Support the driver error logging system
Offen
@lijinf2 arbeitet bereits daran.
Seit 28.5.2026.
cuda.core
feature
P1
- Vorherrschende Sprache
- Cython
- Sterne
- 3.4k
- Forks
- 329
- Ø Merge
- 1 T. 21 Std.
- Gemergte PRs (30 T.)
- 113
Beschreibung
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.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.