Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 625639855
  • Loading branch information
tensorflower-gardener committed Apr 17, 2024
1 parent 33ea022 commit 59b7c3d
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 13 deletions.
6 changes: 6 additions & 0 deletions third_party/xla/xla/tools/hlo_opt/BUILD
Expand Up @@ -34,16 +34,21 @@ cc_library(
"//xla:debug_options_flags",
"//xla:statusor",
"//xla:types",
"//xla:xla_proto_cc",
"//xla/hlo/ir:hlo",
"//xla/service:compiler",
"//xla/service:executable",
"//xla/service:hlo_graph_dumper",
"//xla/service:platform_util",
"//xla/stream_executor",
"//xla/stream_executor:platform",
"@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/log:check",
"@com_google_absl//absl/status",
"@com_google_absl//absl/status:statusor",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/synchronization",
"@local_tsl//tsl/platform:statusor",
],
)
Expand Down Expand Up @@ -73,6 +78,7 @@ cc_library(
"//xla/stream_executor",
"//xla/stream_executor/platform",
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/status:statusor",
"@com_google_absl//absl/strings:string_view",
"@llvm-project//llvm:ir_headers",
"@local_tsl//tsl/platform:errors",
Expand Down
8 changes: 2 additions & 6 deletions third_party/xla/xla/tools/hlo_opt/gpu_opt.cc
Expand Up @@ -19,28 +19,24 @@ limitations under the License.
#include <string>
#include <utility>

#include "absl/container/flat_hash_map.h"
#include "absl/status/statusor.h"
#include "absl/strings/string_view.h"
#include "llvm/IR/LLVMContext.h"
#include "xla/debug_options_flags.h"
#include "xla/hlo/ir/hlo_module.h"
#include "xla/service/buffer_value.h"
#include "xla/service/compiler.h"
#include "xla/service/dump.h"
#include "xla/service/executable.h"
#include "xla/service/gpu/buffer_sharing.h"
#include "xla/service/gpu/compile_module_to_llvm_ir.h"
#include "xla/service/gpu/executable.pb.h"
#include "xla/service/gpu/gpu_compiler.h"
#include "xla/service/gpu/gpu_executable.h"
#include "xla/service/gpu/gpu_hlo_schedule.h"
#include "xla/service/llvm_ir/llvm_util.h"
#include "xla/service/platform_util.h"
#include "xla/statusor.h"
#include "xla/stream_executor/platform.h"
#include "xla/stream_executor/platform/initialize.h"
#include "xla/stream_executor/stream_executor.h"
#include "xla/tools/hlo_opt/opt_lib.h"
#include "xla/types.h"
#include "tsl/platform/errors.h"
#include "tsl/platform/statusor.h"

Expand Down
7 changes: 5 additions & 2 deletions third_party/xla/xla/tools/hlo_opt/opt_lib.cc
Expand Up @@ -22,20 +22,23 @@ limitations under the License.
#include <utility>
#include <vector>

#include "absl/base/const_init.h"
#include "absl/container/flat_hash_map.h"
#include "absl/log/check.h"
#include "absl/status/status.h"
#include "absl/strings/str_cat.h"
#include "absl/strings/str_join.h"
#include "absl/strings/string_view.h"
#include "absl/synchronization/mutex.h"
#include "xla/debug_options_flags.h"
#include "xla/hlo/ir/hlo_module.h"
#include "xla/service/compiler.h"
#include "xla/service/executable.h"
#include "xla/service/hlo_graph_dumper.h"
#include "xla/service/platform_util.h"
#include "xla/statusor.h"
#include "xla/stream_executor/platform.h"
#include "xla/stream_executor/stream_executor.h"
#include "xla/types.h"
#include "xla/xla.pb.h"
#include "tsl/platform/statusor.h"

namespace xla {
Expand Down
1 change: 1 addition & 0 deletions third_party/xla/xla/tools/hlo_opt/opt_lib.h
Expand Up @@ -21,6 +21,7 @@ limitations under the License.
#include <set>
#include <string>

#include "absl/status/statusor.h"
#include "absl/strings/string_view.h"
#include "xla/hlo/ir/hlo_module.h"
#include "xla/service/compiler.h"
Expand Down
5 changes: 0 additions & 5 deletions third_party/xla/xla/tools/hlo_opt/opt_main.cc
Expand Up @@ -34,20 +34,15 @@ limitations under the License.
#include "absl/strings/str_split.h"
#include "xla/debug_options_flags.h"
#include "xla/hlo/ir/hlo_module.h"
#include "xla/service/hlo_runner.h"
#include "xla/service/platform_util.h"
#include "xla/status.h"
#include "xla/statusor.h"
#include "xla/tools/hlo_module_loader.h"
#include "xla/tools/hlo_opt/opt_lib.h"
#include "xla/tools/run_hlo_module.h"
#include "xla/tsl/util/command_line_flags.h"
#include "tsl/platform/env.h"
#include "tsl/platform/errors.h"
#include "tsl/platform/init_main.h"
#include "tsl/platform/logging.h"
#include "tsl/platform/path.h"
#include "tsl/platform/status.h"
#include "tsl/platform/statusor.h"

namespace {
Expand Down

0 comments on commit 59b7c3d

Please sign in to comment.