From 19c72dd784e7e1d6b5ea275b08b2570f64064cb8 Mon Sep 17 00:00:00 2001 From: George Karpenkov Date: Fri, 14 Jun 2019 17:27:03 -0700 Subject: [PATCH] [XLA GPU] Remove redundant dependency PiperOrigin-RevId: 253326367 --- tensorflow/compiler/xla/service/gpu/BUILD | 2 +- tensorflow/compiler/xla/service/gpu/buffer_comparator.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tensorflow/compiler/xla/service/gpu/BUILD b/tensorflow/compiler/xla/service/gpu/BUILD index d1cf82eb353..3d4c39e5649 100644 --- a/tensorflow/compiler/xla/service/gpu/BUILD +++ b/tensorflow/compiler/xla/service/gpu/BUILD @@ -1194,7 +1194,6 @@ cc_library( srcs = ["buffer_comparator.cc"], hdrs = ["buffer_comparator.h"], deps = [ - ":gpu_executable", ":partition_assignment", ":stream_executor_util", "//tensorflow/compiler/xla:shape_util", @@ -1217,6 +1216,7 @@ tf_cc_test( "//tensorflow/compiler/xla:types", "//tensorflow/core:test", "//tensorflow/core:test_main", + "//tensorflow/core/platform/default/build_config:stream_executor_cuda", # build_cleaner: keep "//tensorflow/stream_executor:device_memory", ], ) diff --git a/tensorflow/compiler/xla/service/gpu/buffer_comparator.h b/tensorflow/compiler/xla/service/gpu/buffer_comparator.h index e77dfe02a15..cb65a16fd30 100644 --- a/tensorflow/compiler/xla/service/gpu/buffer_comparator.h +++ b/tensorflow/compiler/xla/service/gpu/buffer_comparator.h @@ -16,7 +16,6 @@ limitations under the License. #ifndef TENSORFLOW_COMPILER_XLA_SERVICE_GPU_BUFFER_COMPARATOR_H_ #define TENSORFLOW_COMPILER_XLA_SERVICE_GPU_BUFFER_COMPARATOR_H_ -#include "tensorflow/compiler/xla/service/gpu/gpu_executable.h" #include "tensorflow/compiler/xla/service/hlo_module_config.h" #include "tensorflow/compiler/xla/shape.h" #include "tensorflow/core/platform/stream_executor_no_cuda.h"