nicolargo / glances

Glances an Eye on your system. A top/htop alternative for GNU/Linux, BSD, Mac OS and Windows operating systems.
http://nicolargo.github.io/glances/
Other
26.94k stars 1.53k forks source link

add comparable NVML_LIB check for Windows #3000

Closed shidetian closed 2 weeks ago

shidetian commented 2 weeks ago

Description

Fix regression in gpu module on Windows introduced in https://github.com/nicolargo/glances/commit/49d15b20dacf6a0fdf5931573f736782234f2a85 by adding additional handling for Windows. Same approach taken as in https://github.com/gpuopenanalytics/pynvml/blob/master/pynvml/nvml.py#L1787.

Resume

nicolargo commented 2 weeks ago

Thanks for the PR @shidetian

Merged into develop