Skip to content
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

Provide idiomatic abstraction for vGPU type information #68

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

christoph-heiss
Copy link

Pretty straight forward overall. Introduces a new VgpuType struct, which wraps over a nvmlVgpuTypeId_t and a proper idiomatic way to access these informations.

I'v also added a Nvml::lib() method, for accessing the underlying (raw) library from the abstraction. This would be useful for e.g. calling functions which are not yet abstracted in nvml-wrapper, without having to completely use nvml-wrapper-sys and NIH, basically. Hopefully that is acceptable.

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