diff options
author | Vijay Vasudevan <vrv@google.com> | 2016-11-03 17:07:01 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-11-03 18:24:53 -0700 |
commit | 818993c7751601527d662d2417f220e4e856e4ef (patch) | |
tree | a9cb33d6332f3e37d740cd6eb6984a1837714237 /tensorflow/stream_executor/dso_loader.cc | |
parent | a19c425536bba29997807bbbd5ed43386d3cb7bd (diff) |
Merge changes from github.
Change: 138143557
Diffstat (limited to 'tensorflow/stream_executor/dso_loader.cc')
-rw-r--r-- | tensorflow/stream_executor/dso_loader.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tensorflow/stream_executor/dso_loader.cc b/tensorflow/stream_executor/dso_loader.cc index 319f456282..2c5ad3d9aa 100644 --- a/tensorflow/stream_executor/dso_loader.cc +++ b/tensorflow/stream_executor/dso_loader.cc @@ -117,7 +117,10 @@ string GetCudnnVersion() { return TF_CUDNN_VERSION; } port::Env::Default()->LoadLibrary(path_string.c_str(), dso_handle); if (!s.ok()) { LOG(INFO) << "Couldn't open CUDA library " << path - << ". LD_LIBRARY_PATH: " << getenv("LD_LIBRARY_PATH"); +#if !defined(PLATFORM_WINDOWS) + << ". LD_LIBRARY_PATH: " << getenv("LD_LIBRARY_PATH") +#endif + ; return port::Status(port::error::FAILED_PRECONDITION, port::StrCat("could not dlopen DSO: ", path, "; dlerror: ", s.error_message())); |