Skip to content

Commit f600f4d

Browse files
author
Vijay Vasudevan
committed
TensorFlow: change cuda-diagnostics to search for so.1
Change: 115010103
1 parent 431ad4b commit f600f4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflow/stream_executor/cuda/cuda_diagnostics.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ port::StatusOr<DriverVersion> Diagnostician::FindDsoVersion() {
165165
// DSO and yields its version number into the callback data, when found.
166166
auto iterate_phdr =
167167
[](struct dl_phdr_info *info, size_t size, void *data) -> int {
168-
if (strstr(info->dlpi_name, "libcuda.so")) {
168+
if (strstr(info->dlpi_name, "libcuda.so.1")) {
169169
VLOG(1) << "found DLL info with name: " << info->dlpi_name;
170170
char resolved_path[PATH_MAX] = {0};
171171
if (realpath(info->dlpi_name, resolved_path) == nullptr) {

0 commit comments

Comments
 (0)