From be863a5f7ffc215052410e02ed3c4af471dd7240 Mon Sep 17 00:00:00 2001 From: Aswinmcw Date: Tue, 3 Dec 2024 07:34:53 +0000 Subject: [PATCH] Migrate gtests from tt_eager to ttnn --- tests/tt_eager/CMakeLists.txt | 4 ---- tests/ttnn/unit_tests/gtests/CMakeLists.txt | 4 ++++ .../ops => ttnn/unit_tests/gtests}/ccl/test_ccl_commands.cpp | 0 .../ops => ttnn/unit_tests/gtests}/ccl/test_ccl_helpers.cpp | 0 .../gtests}/ccl/test_ccl_reduce_scatter_host_helpers.cpp | 0 .../unit_tests/gtests}/ccl/test_ccl_tensor_slicers.cpp | 0 6 files changed, 4 insertions(+), 4 deletions(-) rename tests/{tt_eager/ops => ttnn/unit_tests/gtests}/ccl/test_ccl_commands.cpp (100%) rename tests/{tt_eager/ops => ttnn/unit_tests/gtests}/ccl/test_ccl_helpers.cpp (100%) rename tests/{tt_eager/ops => ttnn/unit_tests/gtests}/ccl/test_ccl_reduce_scatter_host_helpers.cpp (100%) rename tests/{tt_eager/ops => ttnn/unit_tests/gtests}/ccl/test_ccl_tensor_slicers.cpp (100%) diff --git a/tests/tt_eager/CMakeLists.txt b/tests/tt_eager/CMakeLists.txt index 823fda96cfcb..16275a861100 100644 --- a/tests/tt_eager/CMakeLists.txt +++ b/tests/tt_eager/CMakeLists.txt @@ -2,10 +2,6 @@ add_library(test_eager_common_libs INTERFACE) target_link_libraries(test_eager_common_libs INTERFACE test_common_libs) set(TT_EAGER_TESTS_OPS - ops/ccl/test_ccl_commands.cpp - ops/ccl/test_ccl_helpers.cpp - ops/ccl/test_ccl_tensor_slicers.cpp - ops/ccl/test_ccl_reduce_scatter_host_helpers.cpp ops/test_average_pool.cpp ops/test_eltwise_binary_op.cpp ops/test_eltwise_unary_op.cpp diff --git a/tests/ttnn/unit_tests/gtests/CMakeLists.txt b/tests/ttnn/unit_tests/gtests/CMakeLists.txt index 52e1e69c0986..3a15329297f1 100644 --- a/tests/ttnn/unit_tests/gtests/CMakeLists.txt +++ b/tests/ttnn/unit_tests/gtests/CMakeLists.txt @@ -12,6 +12,10 @@ set(TTNN_UNIT_TESTS_SRC set(TTNN_CCL_UNIT_TESTS_SRC ${CMAKE_CURRENT_SOURCE_DIR}/ccl/test_erisc_data_mover_with_workers.cpp ${CMAKE_CURRENT_SOURCE_DIR}/ccl/test_fabric_erisc_data_mover_loopback_with_workers.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/ccl/test_ccl_commands.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/ccl/test_ccl_helpers.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/ccl/test_ccl_tensor_slicers.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/ccl/test_ccl_reduce_scatter_host_helpers.cpp ) set(TTNN_TENSOR_UNIT_TESTS_SRC diff --git a/tests/tt_eager/ops/ccl/test_ccl_commands.cpp b/tests/ttnn/unit_tests/gtests/ccl/test_ccl_commands.cpp similarity index 100% rename from tests/tt_eager/ops/ccl/test_ccl_commands.cpp rename to tests/ttnn/unit_tests/gtests/ccl/test_ccl_commands.cpp diff --git a/tests/tt_eager/ops/ccl/test_ccl_helpers.cpp b/tests/ttnn/unit_tests/gtests/ccl/test_ccl_helpers.cpp similarity index 100% rename from tests/tt_eager/ops/ccl/test_ccl_helpers.cpp rename to tests/ttnn/unit_tests/gtests/ccl/test_ccl_helpers.cpp diff --git a/tests/tt_eager/ops/ccl/test_ccl_reduce_scatter_host_helpers.cpp b/tests/ttnn/unit_tests/gtests/ccl/test_ccl_reduce_scatter_host_helpers.cpp similarity index 100% rename from tests/tt_eager/ops/ccl/test_ccl_reduce_scatter_host_helpers.cpp rename to tests/ttnn/unit_tests/gtests/ccl/test_ccl_reduce_scatter_host_helpers.cpp diff --git a/tests/tt_eager/ops/ccl/test_ccl_tensor_slicers.cpp b/tests/ttnn/unit_tests/gtests/ccl/test_ccl_tensor_slicers.cpp similarity index 100% rename from tests/tt_eager/ops/ccl/test_ccl_tensor_slicers.cpp rename to tests/ttnn/unit_tests/gtests/ccl/test_ccl_tensor_slicers.cpp