NVIDIA / NVIDIA/cuda-python

Support the driver error logging system

Offen
#671 1 Kommentar 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@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_FILE so 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

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.