[XLA:CPU] Remove unnecessary include of absl/log/check.h.

This resolves naming conflicts with tsl and absl.

PiperOrigin-RevId: 634883049
This commit is contained in:
Sara Smoot 2024-05-17 14:12:34 -07:00 committed by TensorFlower Gardener
parent d928140cd7
commit da07e34ae4
2 changed files with 0 additions and 12 deletions

View File

@ -1193,7 +1193,6 @@ cc_library(
"@com_google_absl//absl/algorithm:container",
"@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/base:dynamic_annotations",
"@com_google_absl//absl/log",
"@com_google_absl//absl/status",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/types:span",
@ -1652,7 +1651,6 @@ cc_library(
"//xla:executable_run_options",
"@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/base:dynamic_annotations",
"@com_google_absl//absl/log:check",
"@eigen_archive//:eigen3",
"@local_tsl//tsl/platform:blocking_counter",
"@local_tsl//tsl/platform:env",

View File

@ -20,16 +20,6 @@ limitations under the License.
#include <initializer_list>
#include <vector>
// Both "absl/log/check.h" and "third_party/tsl/platform/logging.h"
// are transitively included in bazel. Both of them define similar CHECK macros.
// Explicitly including the Abseil header first because the TSL version has
// undefs.
// Otherwise, we would get redefinition error.
// clang-format off
#include "absl/log/check.h"
// clang-format on
#include "dnnl.hpp"
#include "absl/base/dynamic_annotations.h"
#include "xla/executable_run_options.h"