From 53c0900fdbb023ef48d582be01633083d98cadf4 Mon Sep 17 00:00:00 2001 From: Eugene Zhulenev Date: Mon, 27 Nov 2023 13:28:45 -0800 Subject: [PATCH] [stream_executor] NFC: Do not leak internal stream executor header PiperOrigin-RevId: 585744507 --- third_party/xla/xla/backends/interpreter/compiler.cc | 2 +- third_party/xla/xla/pjrt/metrics.cc | 2 +- third_party/xla/xla/service/gpu/runtime3/command_buffer_cmd.cc | 2 +- third_party/xla/xla/service/gpu/runtime3/command_buffer_cmd.h | 1 - .../xla/xla/service/gpu/runtime3/command_buffer_thunk.cc | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/third_party/xla/xla/backends/interpreter/compiler.cc b/third_party/xla/xla/backends/interpreter/compiler.cc index 864d98a8269082..3b89c3b6054de1 100644 --- a/third_party/xla/xla/backends/interpreter/compiler.cc +++ b/third_party/xla/xla/backends/interpreter/compiler.cc @@ -49,7 +49,7 @@ limitations under the License. #include "xla/status_macros.h" #include "xla/statusor.h" #include "xla/stream_executor/platform.h" -#include "xla/stream_executor/stream_executor_pimpl.h" +#include "xla/stream_executor/stream_executor.h" #include "xla/util.h" #include "tsl/platform/errors.h" #include "tsl/platform/statusor.h" diff --git a/third_party/xla/xla/pjrt/metrics.cc b/third_party/xla/xla/pjrt/metrics.cc index 4dd49508bb5bca..06aaa18121c115 100644 --- a/third_party/xla/xla/pjrt/metrics.cc +++ b/third_party/xla/xla/pjrt/metrics.cc @@ -21,7 +21,7 @@ limitations under the License. #include "absl/strings/str_cat.h" #include "xla/stream_executor/gpu/gpu_init.h" #include "xla/stream_executor/platform.h" -#include "xla/stream_executor/stream_executor_pimpl.h" +#include "xla/stream_executor/stream_executor.h" #include "tsl/lib/monitoring/counter.h" #include "tsl/lib/monitoring/gauge.h" diff --git a/third_party/xla/xla/service/gpu/runtime3/command_buffer_cmd.cc b/third_party/xla/xla/service/gpu/runtime3/command_buffer_cmd.cc index 26039ed5fba41f..97c6e20b551ede 100644 --- a/third_party/xla/xla/service/gpu/runtime3/command_buffer_cmd.cc +++ b/third_party/xla/xla/service/gpu/runtime3/command_buffer_cmd.cc @@ -34,7 +34,7 @@ limitations under the License. #include "xla/stream_executor/device_memory.h" #include "xla/stream_executor/kernel.h" #include "xla/stream_executor/launch_dim.h" -#include "xla/stream_executor/stream_executor_pimpl.h" +#include "xla/stream_executor/stream_executor.h" #include "xla/types.h" // IWYU pragma: keep #include "tsl/platform/errors.h" #include "tsl/platform/statusor.h" diff --git a/third_party/xla/xla/service/gpu/runtime3/command_buffer_cmd.h b/third_party/xla/xla/service/gpu/runtime3/command_buffer_cmd.h index 7d9dccf861af76..8477c093c6e6cb 100644 --- a/third_party/xla/xla/service/gpu/runtime3/command_buffer_cmd.h +++ b/third_party/xla/xla/service/gpu/runtime3/command_buffer_cmd.h @@ -35,7 +35,6 @@ limitations under the License. #include "xla/stream_executor/device_memory.h" #include "xla/stream_executor/kernel.h" #include "xla/stream_executor/stream_executor.h" -#include "xla/stream_executor/stream_executor_pimpl.h" namespace xla::gpu { diff --git a/third_party/xla/xla/service/gpu/runtime3/command_buffer_thunk.cc b/third_party/xla/xla/service/gpu/runtime3/command_buffer_thunk.cc index 08d5cdb9ca74d4..9dca8e0be18fb7 100644 --- a/third_party/xla/xla/service/gpu/runtime3/command_buffer_thunk.cc +++ b/third_party/xla/xla/service/gpu/runtime3/command_buffer_thunk.cc @@ -26,7 +26,7 @@ limitations under the License. #include "xla/statusor.h" #include "xla/stream_executor/command_buffer.h" #include "xla/stream_executor/device_memory.h" -#include "xla/stream_executor/stream_executor_pimpl.h" +#include "xla/stream_executor/stream_executor.h" #include "tsl/platform/errors.h" #include "tsl/platform/statusor.h"