NVIDIA / NVIDIA/cuda-python

Support the driver error logging system

Đang mở
#671 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

@lijinf2 đang làm issue này rồi.

Từ ngày 28/5/2026.

cuda.core feature P1
Ngôn ngữ chính
Cython
Star
3.4k
Fork
329
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
116

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.