lfreist / hwinfo

cross platform C++ library for hardware information (CPU, RAM, GPU, ...)
MIT License
433 stars 74 forks source link

Expose GPU vendor_id and device_id on Windows #82

Closed julianxhokaxhiu closed 5 months ago

julianxhokaxhiu commented 5 months ago

Hello,

First of all thanks a lot for this wonderful library. I was looking for something similar and I was so happy to find out hwinfo meets exactly my need. I'm currently going to use it https://github.com/julianxhokaxhiu/FFNx and it will help the troubleshooting drastically through the ability to expose the current user specs in the log.

Unfortunately although because I use a rendering library named bgfx, I have no ability to match which GPU is currently being used, since the library allows me to know only the GPU vendor id and device id.

Would it be possible for you to expose this info as well in the GPU interface so I can use it to compare? Having it as an int type would be perfect.

Thanks a lot and best regards, Julian