Fix GPU monotoring for nvidia

This commit is contained in:
jkre 2023-12-25 19:16:55 +01:00
parent e15e0b7188
commit 89846a28c9

View file

@ -946,7 +946,7 @@ namespace Gpu {
if (initialized) return false;
//? Dynamic loading & linking
nvml_dl_handle = dlopen("libnvidia-ml.so", RTLD_LAZY);
nvml_dl_handle = dlopen("libnvidia-ml.so.1", RTLD_LAZY);
if (!nvml_dl_handle) {
Logger::info(std::string("Failed to load libnvidia-ml.so, NVIDIA GPUs will not be detected: ") + dlerror());
return false;