diff options
author | Justin Lebar <jlebar@google.com> | 2018-04-10 19:34:54 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-04-10 19:37:18 -0700 |
commit | e7b1ab049d22119c7b649046be853ea88120f27a (patch) | |
tree | 3a9c1f26e083973b43f4a7d5beab6cc45aabd1cf /tensorflow/stream_executor/BUILD | |
parent | 44adf97426c6e1f218010a4a16190b5ec0a9f4df (diff) |
[StreamExecutor] Merge StreamExecutor's and XLA's StatusOr classes.
StatusOr is a...complicated class to write. It's really not good to
have two copies of it. They've diverged (the XLA one is more
sophisticated), and this may be causing upstream build problems with
gcc6.
PiperOrigin-RevId: 192392111
Diffstat (limited to 'tensorflow/stream_executor/BUILD')
-rw-r--r-- | tensorflow/stream_executor/BUILD | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/stream_executor/BUILD b/tensorflow/stream_executor/BUILD index 1913fc20ee..80fc9ff292 100644 --- a/tensorflow/stream_executor/BUILD +++ b/tensorflow/stream_executor/BUILD @@ -33,6 +33,7 @@ cc_library( }), visibility = ["//visibility:public"], deps = [ + "//tensorflow/compiler/xla:statusor", "//tensorflow/core:lib", "@local_config_cuda//cuda:cuda_headers", ], @@ -45,6 +46,7 @@ cc_library( visibility = ["//visibility:public"], deps = [ "//tensorflow/core:lib", + "//tensorflow/compiler/xla:statusor", "@local_config_cuda//cuda:cuda_headers", ] + if_static([":stream_executor_impl"]), ) |