diff options
author | Jingyue Wu <jingyue@google.com> | 2016-12-13 16:02:30 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-12-13 16:22:12 -0800 |
commit | 667a023a417f36ff4eabaee77daf374dceaa5ddd (patch) | |
tree | aecdc6132d8a946f29002d29212a897d0af1e5c6 /tensorflow/stream_executor/lib | |
parent | f0a6d1ee02adbf5222cd537d45e510ae3f40844f (diff) |
Find libdevice files in .runfiles when TEST_SRCDIR is not set.
Before this CL, XLA GPU binaries can only be run with "blaze test". After this
CL, they can be run directly via "blaze-bin/<executable>".
Change: 141952101
Diffstat (limited to 'tensorflow/stream_executor/lib')
-rw-r--r-- | tensorflow/stream_executor/lib/path.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tensorflow/stream_executor/lib/path.h b/tensorflow/stream_executor/lib/path.h index 697a264c3c..93053dbcb6 100644 --- a/tensorflow/stream_executor/lib/path.h +++ b/tensorflow/stream_executor/lib/path.h @@ -16,6 +16,7 @@ limitations under the License. #ifndef TENSORFLOW_STREAM_EXECUTOR_LIB_PATH_H_ #define TENSORFLOW_STREAM_EXECUTOR_LIB_PATH_H_ +#include "tensorflow/core/lib/io/path.h" #include "tensorflow/stream_executor/lib/stringpiece.h" #include "tensorflow/stream_executor/platform/port.h" @@ -23,6 +24,8 @@ namespace perftools { namespace gputools { namespace port { +using tensorflow::io::Dirname; + namespace internal { // TODO(rspringer): Move to cc/implementation file. // Not part of the public API. |