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

Device Brand function fails for new RTX cards #34

Closed
nemosupremo opened this issue Sep 12, 2022 · 0 comments
Closed

Device Brand function fails for new RTX cards #34

nemosupremo opened this issue Sep 12, 2022 · 0 comments

Comments

@nemosupremo
Copy link
Contributor

nemosupremo commented Sep 12, 2022

Calling device.brand() for RTX cards (e.g. RTX A4000) causes the function to fail with:

unexpected enum variant value: 13

In device enums in the docs we see that 13 corresponds with NVML_BRAND_NVIDIA_RTX = 13, however the Brand struct only supports up to NVML_BRAND_TITAN (6).

I see that these bindings are already generated in nvml-wrapper-sys, so the Brand struct should be updated with all device types

nemosupremo added a commit to nemosupremo/nvml-wrapper that referenced this issue Sep 12, 2022
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

No branches or pull requests

1 participant