Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 716880401
  • Loading branch information
Google-ML-Automation committed Jan 18, 2025
1 parent e141532 commit 518c014
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 1 deletion.
6 changes: 6 additions & 0 deletions xla/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,8 @@ cc_library(
":util",
":xla_data_proto_cc",
"@com_google_absl//absl/base",
"@com_google_absl//absl/log",
"@com_google_absl//absl/log:check",
"@com_google_absl//absl/status:statusor",
"@com_google_absl//absl/strings:string_view",
"@com_google_absl//absl/types:span",
Expand Down Expand Up @@ -1124,6 +1126,8 @@ cc_library(
"//xla/tsl/util:command_line_flags",
"@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/log",
"@com_google_absl//absl/log:check",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/strings:str_format",
"@com_google_absl//absl/synchronization",
Expand All @@ -1140,7 +1144,9 @@ xla_cc_test(
":parse_flags_from_env",
"//xla/tsl/platform:subprocess",
"//xla/tsl/util:command_line_flags",
"@com_google_absl//absl/log:check",
"@com_google_absl//absl/strings:str_format",
"@com_google_googletest//:gtest",
"@tsl//tsl/platform:env",
"@tsl//tsl/platform:logging",
"@tsl//tsl/platform:macros",
Expand Down
6 changes: 5 additions & 1 deletion xla/packed_literal_reader.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,16 @@ limitations under the License.

#include "xla/packed_literal_reader.h"

#include <cstdint>
#include <cstring>
#include <limits>
#include <memory>
#include <string>
#include <utility>

#include "absl/base/casts.h"
#include "absl/log/check.h"
#include "absl/log/log.h"
#include "absl/status/statusor.h"
#include "absl/strings/string_view.h"
#include "absl/types/span.h"
#include "xla/layout.h"
Expand Down
1 change: 1 addition & 0 deletions xla/packed_literal_reader.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ limitations under the License.
#ifndef XLA_PACKED_LITERAL_READER_H_
#define XLA_PACKED_LITERAL_READER_H_

#include <cstdint>
#include <memory>

#include "absl/status/statusor.h"
Expand Down
2 changes: 2 additions & 0 deletions xla/parse_flags_from_env.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ limitations under the License.

#include "absl/base/const_init.h"
#include "absl/container/flat_hash_map.h"
#include "absl/log/check.h"
#include "absl/log/log.h"
#include "absl/strings/ascii.h"
#include "absl/strings/str_join.h"
#include "absl/strings/string_view.h"
Expand Down
4 changes: 4 additions & 0 deletions xla/parse_flags_from_env_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@ limitations under the License.
#include <stdio.h>
#include <stdlib.h>

#include <algorithm>
#include <cstdint>
#include <string>
#include <vector>

#include <gtest/gtest.h>
#include "absl/log/check.h"
#include "absl/strings/str_format.h"
#include "xla/tsl/platform/subprocess.h"
#include "xla/tsl/util/command_line_flags.h"
Expand Down
2 changes: 2 additions & 0 deletions xla/permutation_util.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ limitations under the License.

#include "xla/permutation_util.h"

#include <cstddef>
#include <cstdint>
#include <vector>

#include "absl/container/inlined_vector.h"
Expand Down
3 changes: 3 additions & 0 deletions xla/permutation_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ limitations under the License.
#ifndef XLA_PERMUTATION_UTIL_H_
#define XLA_PERMUTATION_UTIL_H_

#include <cstddef>
#include <cstdint>
#include <vector>

#include "absl/log/check.h"
#include "absl/types/span.h"
#include "xla/types.h"
#include "tsl/platform/logging.h"
Expand Down
1 change: 1 addition & 0 deletions xla/permutation_util_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ limitations under the License.

#include "xla/permutation_util.h"

#include <gtest/gtest.h>
#include "xla/hlo/testlib/test.h"

namespace xla {
Expand Down

0 comments on commit 518c014

Please sign in to comment.