Add WSL2 path to nvidia-ml.so library

This commit is contained in:
Daniel Hiltgen 2023-12-15 20:16:02 -08:00
parent 3269535a4c
commit 5646826a79

View file

@ -8,6 +8,7 @@
const char *cuda_lib_paths[] = { const char *cuda_lib_paths[] = {
"libnvidia-ml.so", "libnvidia-ml.so",
"/usr/local/cuda/lib64/libnvidia-ml.so", "/usr/local/cuda/lib64/libnvidia-ml.so",
"/usr/lib/wsl/lib/libnvidia-ml.so.1", // TODO Maybe glob?
NULL, NULL,
}; };
#else #else