nvml-wrapper icon indicating copy to clipboard operation
nvml-wrapper copied to clipboard

Device Brand function fails for new RTX cards

Open nemosupremo opened this issue 2 years ago • 0 comments

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 avatar Sep 12 '22 21:09 nemosupremo