Skip to content

Add handling for NVMLError_NotSupported in get_device_memory_info #5890

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

JanuszL
Copy link
Contributor

@JanuszL JanuszL commented Apr 22, 2025

  • adds a specific exception handler for NVMLError_NotSupported when
    attempting to get device memory information via NVML. This improves
    error handling for systems without dedicated frame buffer

Category:

Other (e.g. Documentation, Tests, Configuration)

Description:

  • adds a specific exception handler for NVMLError_NotSupported when
    attempting to get device memory information via NVML. This improves
    error handling for systems without dedicated frame buffer

Additional information:

Affected modules and functionalities:

  • test_utils.py

Key points relevant for the review:

  • NA

Tests:

  • Existing tests apply
    • test_backend_impl.test_preallocation
  • New tests added
    • Python tests
    • GTests
    • Benchmark
    • Other
  • N/A

Checklist

Documentation

  • Existing documentation applies
  • Documentation updated
    • Docstring
    • Doxygen
    • RST
    • Jupyter
    • Other
  • N/A

DALI team only

Requirements

  • Implements new requirements
  • Affects existing requirements
  • N/A

REQ IDs: N/A

JIRA TASK: N/A

- adds a specific exception handler for NVMLError_NotSupported when
  attempting to get device memory information via NVML. This improves
  error handling for systems without dedicated frame buffer

Signed-off-by: Janusz Lisiecki <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant