File tree Expand file tree Collapse file tree 16 files changed +18
-20
lines changed
hlo/transforms/collectives Expand file tree Collapse file tree 16 files changed +18
-20
lines changed Original file line number Diff line number Diff line change @@ -83,8 +83,8 @@ xla_cc_test(
8383 "//xla:util" ,
8484 "//xla/hlo/ir:hlo" ,
8585 "//xla/hlo/testlib:hlo_hardware_independent_test_base" ,
86+ "//xla/hlo/testlib:pattern_matcher_gmock" ,
8687 "//xla/service:pattern_matcher" ,
87- "//xla/service:pattern_matcher_gmock" ,
8888 "//xla/tsl/lib/core:status_test_util" ,
8989 "@com_google_absl//absl/strings:string_view" ,
9090 "@com_google_googletest//:gtest_main" ,
@@ -189,11 +189,10 @@ xla_cc_test(
189189 srcs = ["collectives_schedule_linearizer_test.cc" ],
190190 deps = [
191191 ":collectives_schedule_linearizer" ,
192- "//xla:test" ,
193- "//xla:test_helpers" ,
194192 "//xla:xla_data_proto_cc" ,
195193 "//xla/hlo/ir:hlo" ,
196194 "//xla/hlo/testlib:hlo_hardware_independent_test_base" ,
195+ "//xla/hlo/testlib:test_helpers" ,
197196 "//xla/service:pattern_matcher" ,
198197 "@com_google_googletest//:gtest_main" ,
199198 ],
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ limitations under the License.
2525#include " xla/hlo/ir/hlo_opcode.h"
2626#include " xla/hlo/ir/hlo_schedule.h"
2727#include " xla/hlo/testlib/hlo_hardware_independent_test_base.h"
28+ #include " xla/hlo/testlib/pattern_matcher_gmock.h"
2829#include " xla/service/pattern_matcher.h"
29- #include " xla/service/pattern_matcher_gmock.h"
3030#include " xla/side_effect_util.h"
3131#include " xla/tsl/lib/core/status_test_util.h"
3232#include " xla/util.h"
Original file line number Diff line number Diff line change @@ -19,9 +19,8 @@ limitations under the License.
1919#include " xla/hlo/ir/hlo_instruction.h"
2020#include " xla/hlo/ir/hlo_module.h"
2121#include " xla/hlo/testlib/hlo_hardware_independent_test_base.h"
22+ #include " xla/hlo/testlib/test_helpers.h"
2223#include " xla/service/pattern_matcher.h"
23- #include " xla/test.h"
24- #include " xla/test_helpers.h"
2524#include " xla/xla_data.pb.h"
2625
2726namespace xla {
Original file line number Diff line number Diff line change @@ -167,14 +167,14 @@ xla_cc_test(
167167 "//xla:literal_util" ,
168168 "//xla:shape_util" ,
169169 "//xla:status_macros" ,
170- "//xla:test" ,
171170 "//xla:types" ,
172171 "//xla:util" ,
173172 "//xla:xla_data_proto_cc" ,
174173 "//xla/ffi" ,
175174 "//xla/ffi:ffi_api" ,
176175 "//xla/hlo/builder:xla_computation" ,
177176 "//xla/hlo/parser:hlo_parser" ,
177+ "//xla/hlo/testlib:test" ,
178178 "//xla/pjrt:host_memory_spaces" ,
179179 "//xla/pjrt:mlir_to_hlo" ,
180180 "//xla/pjrt:pjrt_client" ,
@@ -390,9 +390,9 @@ xla_test(
390390 ":se_gpu_pjrt_compiler_impl" ,
391391 "//xla:literal" ,
392392 "//xla:literal_util" ,
393- "//xla:test" ,
394393 "//xla/hlo/builder:xla_computation" ,
395394 "//xla/hlo/parser:hlo_parser" ,
395+ "//xla/hlo/testlib:test" ,
396396 "//xla/mlir_hlo" ,
397397 "//xla/pjrt:pjrt_client" ,
398398 "//xla/pjrt:pjrt_compiler" ,
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ limitations under the License.
4242#include " xla/ffi/ffi_api.h"
4343#include " xla/hlo/builder/xla_computation.h"
4444#include " xla/hlo/parser/hlo_parser.h"
45+ #include " xla/hlo/testlib/test.h"
4546#include " xla/layout.h"
4647#include " xla/literal.h"
4748#include " xla/literal_util.h"
@@ -63,7 +64,6 @@ limitations under the License.
6364#include " xla/status_macros.h"
6465#include " xla/stream_executor/device_memory.h"
6566#include " xla/stream_executor/stream.h"
66- #include " xla/test.h"
6767#include " xla/tests/literal_test_util.h"
6868#include " xla/tsl/lib/core/status_test_util.h"
6969#include " xla/tsl/platform/subprocess.h"
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ limitations under the License.
2929#include " mlir/Parser/Parser.h"
3030#include " xla/hlo/builder/xla_computation.h"
3131#include " xla/hlo/parser/hlo_parser.h"
32+ #include " xla/hlo/testlib/test.h"
3233#include " xla/literal.h"
3334#include " xla/literal_util.h"
3435#include " xla/mlir_hlo/mhlo/IR/hlo_ops.h"
@@ -38,7 +39,6 @@ limitations under the License.
3839#include " xla/pjrt/pjrt_compiler.h"
3940#include " xla/pjrt/pjrt_executable.h"
4041#include " xla/pjrt/plugin/xla_gpu/xla_gpu_client_options.h"
41- #include " xla/test.h"
4242#include " xla/tests/literal_test_util.h"
4343#include " tsl/platform/status_matchers.h"
4444#include " tsl/platform/statusor.h"
Original file line number Diff line number Diff line change @@ -564,9 +564,9 @@ xla_test(
564564 "//xla:xla_proto_cc" ,
565565 "//xla/hlo/ir:hlo" ,
566566 "//xla/hlo/testlib:filecheck" ,
567+ "//xla/hlo/testlib:pattern_matcher_gmock" ,
567568 "//xla/hlo/testlib:verified_hlo_module" ,
568569 "//xla/service:pattern_matcher" ,
569- "//xla/service:pattern_matcher_gmock" ,
570570 "//xla/service/gpu:backend_configs_cc" ,
571571 "//xla/service/gpu:gpu_device_info_for_tests" ,
572572 "//xla/service/gpu/model:tiled_hlo_instruction_or_computation" ,
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ limitations under the License.
3535#include " xla/hlo/ir/hlo_instruction.h"
3636#include " xla/hlo/ir/hlo_instructions.h"
3737#include " xla/hlo/testlib/filecheck.h"
38+ #include " xla/hlo/testlib/pattern_matcher_gmock.h"
3839#include " xla/hlo/testlib/verified_hlo_module.h"
3940#include " xla/service/gpu/backend_configs.pb.h"
4041#include " xla/service/gpu/fusions/triton/triton_fusion_emitter.h"
@@ -43,7 +44,6 @@ limitations under the License.
4344#include " xla/service/gpu/model/tiled_hlo_computation.h"
4445#include " xla/service/gpu/tests/gpu_codegen_test.h"
4546#include " xla/service/pattern_matcher.h"
46- #include " xla/service/pattern_matcher_gmock.h"
4747#include " xla/stream_executor/device_description.h"
4848#include " xla/tsl/lib/core/status_test_util.h"
4949#include " xla/tsl/platform/env.h"
Original file line number Diff line number Diff line change @@ -338,10 +338,10 @@ xla_cc_test(
338338 ":ir_array" ,
339339 ":llvm_util" ,
340340 "//xla:shape_util" ,
341- "//xla:test" ,
342341 "//xla:xla_data_proto_cc" ,
343342 "//xla/hlo/testlib:filecheck" ,
344343 "//xla/tests:xla_internal_test_main" ,
344+ "@com_google_googletest//:gtest_main" ,
345345 "@llvm-project//llvm:Support" ,
346346 "@llvm-project//llvm:ir_headers" ,
347347 "@tsl//tsl/platform:statusor" ,
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ limitations under the License.
1717
1818#include < string>
1919
20+ #include < gtest/gtest.h>
2021#include " llvm/ADT/ArrayRef.h"
2122#include " llvm/IR/Argument.h"
2223#include " llvm/IR/BasicBlock.h"
@@ -29,7 +30,6 @@ limitations under the License.
2930#include " xla/service/llvm_ir/llvm_util.h"
3031#include " xla/shape.h"
3132#include " xla/shape_util.h"
32- #include " xla/test.h"
3333#include " xla/xla_data.pb.h"
3434#include " tsl/platform/statusor.h"
3535
You can’t perform that action at this time.
0 commit comments