Fixed leftover code in GPU init logging false errors

This commit is contained in:
aristocratos 2023-12-27 00:54:28 +01:00
parent ad14554f32
commit 2fba934cde

View file

@ -949,12 +949,6 @@ namespace Gpu {
if (initialized) return false;
//? Dynamic loading & linking
nvml_dl_handle = dlopen("libnvidia-ml.so", 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;
}
//? Try possible library names for libnvidia-ml.so
const array libNvAlts = {
"libnvidia-ml.so",