Skip to content

Commit 431ad4b

Browse files
author
Vijay Vasudevan
committed
TensorFlow: switch dsoloader path for libcuda to end in .so.1
Change: 114990321
1 parent b44abb8 commit 431ad4b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tensorflow/stream_executor/dso_loader.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ string GetCudnnVersion() { return ""; }
6969
}
7070

7171
/* static */ port::Status DsoLoader::GetLibcudaDsoHandle(void** dso_handle) {
72-
return GetDsoHandle(FindDsoPath("libcuda.so",
73-
"third_party/gpus/cuda/driver/lib64"),
74-
dso_handle);
72+
return GetDsoHandle(
73+
FindDsoPath("libcuda.so.1", "third_party/gpus/cuda/driver/lib64"),
74+
dso_handle);
7575
}
7676

7777
/* static */ port::Status DsoLoader::GetLibcuptiDsoHandle(void** dso_handle) {

0 commit comments

Comments
 (0)