Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 709533492
  • Loading branch information
Google-ML-Automation committed Dec 25, 2024
1 parent e268cb7 commit c6a227b
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 0 deletions.
8 changes: 8 additions & 0 deletions xla/service/gpu/kernels/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ cc_library(
"//xla/stream_executor:device_description",
"@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/container:flat_hash_map",
"@com_google_absl//absl/log",
"@com_google_absl//absl/status",
"@com_google_absl//absl/status:statusor",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/synchronization",
"@tsl//tsl/platform:logging",
Expand Down Expand Up @@ -157,6 +159,7 @@ cc_library(
"//xla/stream_executor:stream",
"//xla/stream_executor:stream_executor_h",
"//xla/stream_executor:typed_kernel_factory",
"@com_google_absl//absl/log",
"@com_google_absl//absl/numeric:bits",
"@com_google_absl//absl/status",
"@com_google_absl//absl/status:statusor",
Expand Down Expand Up @@ -204,6 +207,7 @@ xla_test(
"@com_google_absl//absl/random",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/time",
"@com_google_googletest//:gtest_main",
"@tsl//tsl/platform:statusor",
"@tsl//tsl/platform:test",
"@tsl//tsl/platform:test_benchmark",
Expand Down Expand Up @@ -309,6 +313,7 @@ xla_test(
"//xla/stream_executor:stream_executor_h",
"//xla/stream_executor/cuda:cuda_platform",
"//xla/tsl/lib/core:status_test_util",
"@com_google_googletest//:gtest_main",
"@tsl//tsl/platform:path",
"@tsl//tsl/platform:statusor",
"@tsl//tsl/platform:test",
Expand Down Expand Up @@ -524,6 +529,7 @@ cc_library(
"//xla/stream_executor:launch_dim",
"@com_google_absl//absl/status",
"@com_google_absl//absl/status:statusor",
"@com_google_absl//absl/strings:string_view",
],
)

Expand All @@ -541,6 +547,8 @@ xla_test(
"//xla/stream_executor:stream",
"//xla/stream_executor:stream_executor_h",
"//xla/stream_executor/cuda:cuda_platform",
"@com_google_absl//absl/strings:string_view",
"@com_google_googletest//:gtest_main",
"@tsl//tsl/platform:status",
"@tsl//tsl/platform:statusor",
"@tsl//tsl/platform:test",
Expand Down
1 change: 1 addition & 0 deletions xla/service/gpu/kernels/custom_kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ limitations under the License.
#include <optional>
#include <string>

#include "absl/strings/string_view.h"
#include "xla/stream_executor/kernel_spec.h"
#include "xla/stream_executor/launch_dim.h"

Expand Down
3 changes: 3 additions & 0 deletions xla/service/gpu/kernels/custom_kernel_fusion.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ limitations under the License.

#include "absl/base/thread_annotations.h"
#include "absl/container/flat_hash_map.h"
#include "absl/log/log.h"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "absl/strings/string_view.h"
#include "absl/synchronization/mutex.h"
#include "xla/hlo/ir/hlo_computation.h"
#include "xla/service/gpu/kernels/custom_kernel.h"
Expand Down
1 change: 1 addition & 0 deletions xla/service/gpu/kernels/cutlass_gemm_custom_kernel_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ limitations under the License.
#include <string>
#include <vector>

#include <gtest/gtest.h>
#include "xla/stream_executor/device_memory.h"
#include "xla/stream_executor/kernel.h"
#include "xla/stream_executor/platform.h"
Expand Down
1 change: 1 addition & 0 deletions xla/service/gpu/kernels/ptx_custom_kernel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ limitations under the License.
#include <string>

#include "absl/status/statusor.h"
#include "absl/strings/string_view.h"
#include "xla/service/gpu/kernels/custom_kernel.h"
#include "xla/stream_executor/kernel.h"
#include "xla/stream_executor/kernel_spec.h"
Expand Down
1 change: 1 addition & 0 deletions xla/service/gpu/kernels/ptx_custom_kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ limitations under the License.
#include <string>

#include "absl/status/statusor.h"
#include "absl/strings/string_view.h"
#include "xla/service/gpu/kernels/custom_kernel.h"
#include "xla/stream_executor/launch_dim.h"

Expand Down
2 changes: 2 additions & 0 deletions xla/service/gpu/kernels/ptx_custom_kernel_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ limitations under the License.
#include <memory>
#include <vector>

#include <gtest/gtest.h>
#include "absl/strings/string_view.h"
#include "xla/service/gpu/kernels/custom_kernel.h"
#include "xla/stream_executor/cuda/cuda_platform.h"
#include "xla/stream_executor/device_memory.h"
Expand Down
1 change: 1 addition & 0 deletions xla/service/gpu/kernels/topk_custom_kernel_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ limitations under the License.
#include <tuple>
#include <vector>

#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "absl/random/random.h"
#include "absl/strings/ascii.h"
Expand Down
1 change: 1 addition & 0 deletions xla/service/gpu/kernels/topk_kernel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ limitations under the License.
#include <cstddef>
#include <cstdint>

#include "absl/log/log.h"
#include "absl/numeric/bits.h"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
Expand Down
2 changes: 2 additions & 0 deletions xla/service/gpu/kernels/topk_kernel_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ limitations under the License.
#include <tuple>
#include <vector>

#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "absl/log/check.h"
#include "absl/random/random.h"
#include "absl/strings/substitute.h"
Expand Down

0 comments on commit c6a227b

Please sign in to comment.