-
Notifications
You must be signed in to change notification settings - Fork 236
cuda.core.system: Add system-level APIs #1440
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
Conversation
|
Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
/ok to test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR adds a new system-level API get_driver_branch() that retrieves the driver branch of the NVIDIA driver installed on the system by wrapping the NVML function nvmlSystemGetDriverBranch.
- Adds
get_driver_branch()function to_system.pyx - Adds test coverage for the new function
- Updates
__all__exports to include the new function
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| cuda_core/cuda/core/system/_system.pyx | Implements get_driver_branch() function and adds it to __all__ exports |
| cuda_core/tests/system/test_system_system.py | Adds test case for get_driver_branch() function |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
/ok to test |
This comment has been minimized.
This comment has been minimized.
|
Now that the skeleton of cuda.core.system is merged, I'm starting the process of methodically adding APIs. This adds the one remaining "system-level" API,
nvmlSystemGetDriverBranch.