aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/BUILD
diff options
context:
space:
mode:
authorGravatar Yunxing Dai <yunxing@google.com>2018-08-29 13:52:19 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-08-29 13:56:04 -0700
commit91c7cd5676624d8c364d7dc56bb50300bb9d210c (patch)
treed91ebb16034a7f0734978fcc825934d11526bb8f /tensorflow/compiler/xla/service/BUILD
parent065f9b833ffbb3b2f03d63febb186275674ba133 (diff)
New XLA API to launch a program.
1. Propose a new API with ability to do input/output. 2. Start to enable ABSL in TF's codebase. PiperOrigin-RevId: 210783617
Diffstat (limited to 'tensorflow/compiler/xla/service/BUILD')
-rw-r--r--tensorflow/compiler/xla/service/BUILD19
1 files changed, 19 insertions, 0 deletions
diff --git a/tensorflow/compiler/xla/service/BUILD b/tensorflow/compiler/xla/service/BUILD
index 4a3290e9bc..f8e0ed440d 100644
--- a/tensorflow/compiler/xla/service/BUILD
+++ b/tensorflow/compiler/xla/service/BUILD
@@ -788,9 +788,11 @@ cc_library(
":hlo_execution_profile",
":hlo_graph_dumper",
":hlo_proto",
+ ":maybe_owning_device_memory",
":shaped_buffer",
":stream_pool",
"//tensorflow/compiler/xla:executable_run_options",
+ "//tensorflow/compiler/xla:shape_tree",
"//tensorflow/compiler/xla:status",
"//tensorflow/compiler/xla:status_macros",
"//tensorflow/compiler/xla:statusor",
@@ -803,6 +805,7 @@ cc_library(
"//tensorflow/stream_executor",
"@com_google_absl//absl/memory",
"@com_google_absl//absl/strings:str_format",
+ "@com_google_absl//absl/types:variant",
],
)
@@ -2679,6 +2682,22 @@ cc_library(
"//tensorflow/compiler/xla:util",
"//tensorflow/core:lib",
"//tensorflow/core:stream_executor_no_cuda",
+ "@com_google_absl//absl/types:variant",
+ ],
+)
+
+cc_library(
+ name = "maybe_owning_device_memory",
+ srcs = [
+ "maybe_owning_device_memory.cc",
+ ],
+ hdrs = [
+ "maybe_owning_device_memory.h",
+ ],
+ deps = [
+ ":device_memory_allocator",
+ "@com_google_absl//absl/types:optional",
+ "@com_google_absl//absl/types:variant",
],
)