I removed the old implementation of loading libnvidia-ml.so, because otherwise a false negative is returned, when libnvidia-ml.so is not found before looking for alternative names.
PS: I'm not sure but in my opinion changing the name to libnvidia-ml.so.1 would also fix the issue, because on all distros i had a look add (Debian, Ubuntu, Arch) both libnvidia-ml.so.1 and libnvidia-ml.so are present and only on fedora only libnvidia-ml.so.1 is present
I removed the old implementation of loading
libnvidia-ml.so
, because otherwise a false negative is returned, whenlibnvidia-ml.so
is not found before looking for alternative names.PS: I'm not sure but in my opinion changing the name to
libnvidia-ml.so.1
would also fix the issue, because on all distros i had a look add (Debian, Ubuntu, Arch) bothlibnvidia-ml.so.1
andlibnvidia-ml.so
are present and only on fedora onlylibnvidia-ml.so.1
is present