Skip to content

Support the driver error logging system #671

Description

@leofang

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P1Medium priority - Should docuda.coreEverything related to the cuda.core modulefeatureNew feature or request

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions