From 00324ac332648335a09d61392a0b603f0c327dd6 Mon Sep 17 00:00:00 2001 From: Artem Yerofieiev <169092593+ayerofieiev-tt@users.noreply.github.com> Date: Mon, 22 Jul 2024 16:41:43 -0700 Subject: [PATCH] #10531: Move Tensor code from experimental to TT-NN (#10551) #10531: Move Tensor into ttnn --- tests/tt_eager/integration_tests/test_bert.cpp | 4 ++-- tests/tt_eager/ops/test_average_pool.cpp | 2 +- tests/tt_eager/ops/test_bcast_op.cpp | 2 +- tests/tt_eager/ops/test_bmm_op.cpp | 2 +- tests/tt_eager/ops/test_eltwise_binary_op.cpp | 6 +++--- tests/tt_eager/ops/test_eltwise_unary_op.cpp | 6 +++--- tests/tt_eager/ops/test_fold_op.cpp | 2 +- tests/tt_eager/ops/test_layernorm_op.cpp | 2 +- tests/tt_eager/ops/test_pad_op.cpp | 4 ++-- tests/tt_eager/ops/test_reduce_op.cpp | 2 +- tests/tt_eager/ops/test_sliding_window_ops.cpp | 8 ++++---- tests/tt_eager/ops/test_softmax_op.cpp | 2 +- tests/tt_eager/ops/test_tilize_op.cpp | 6 +++--- tests/tt_eager/ops/test_tilize_op_channels_last.cpp | 6 +++--- tests/tt_eager/ops/test_tilize_zero_padding.cpp | 6 +++--- .../ops/test_tilize_zero_padding_channels_last.cpp | 6 +++--- tests/tt_eager/ops/test_transpose_op.cpp | 2 +- tests/tt_eager/ops/test_transpose_wh_multi_core.cpp | 6 +++--- tests/tt_eager/ops/test_transpose_wh_single_core.cpp | 6 +++--- tests/tt_eager/tensors/test_async_tensor_apis.cpp | 10 +++++----- tests/tt_eager/tensors/test_copy_and_move.cpp | 8 ++++---- tests/tt_eager/tensors/test_host_device_loopback.cpp | 6 +++--- tests/tt_eager/tensors/test_ranks.cpp | 8 ++++---- .../tensors/test_raw_host_memory_pointer.cpp | 8 ++++---- tests/ttnn/unit_tests/gtests/test_async_runtime.cpp | 2 +- .../unit_tests/gtests/test_multi_cq_multi_dev.cpp | 2 +- .../ttnn/unit_tests/gtests/test_multiprod_queue.cpp | 2 +- tt_metal/tools/profiler/op_profiler.hpp | 2 +- ttnn/CMakeLists.txt | 3 +-- ttnn/cpp/pybind11/activation.hpp | 2 +- ttnn/cpp/pybind11/multi_device.hpp | 2 +- ttnn/cpp/pybind11/types.hpp | 2 +- ttnn/cpp/ttnn/async_runtime.cpp | 4 ++-- ttnn/cpp/ttnn/async_runtime.hpp | 2 +- ttnn/cpp/ttnn/{experimental/ttnn => }/config.hpp | 0 ttnn/cpp/ttnn/core.hpp | 6 +++--- ttnn/cpp/ttnn/decorators.hpp | 2 +- ttnn/cpp/ttnn/device_operation.hpp | 2 +- ttnn/cpp/ttnn/experimental/CMakeLists.txt | 2 -- .../experimental/tt_dnn/op_library/auto_format.cpp | 2 +- .../experimental/tt_dnn/op_library/auto_format.hpp | 2 +- .../tt_dnn/op_library/backward/backward_ops.cpp | 2 +- .../tt_dnn/op_library/backward/backward_ops.hpp | 6 +++--- .../tt_dnn/op_library/bcast/bcast_op.cpp | 4 ++-- .../tt_dnn/op_library/bcast/bcast_op.hpp | 2 +- .../bcast/multi_core_h/bcast_op_multi_core_h.cpp | 2 +- .../bcast/multi_core_h/bcast_op_sharded_h.cpp | 2 +- .../multi_core_h/bcast_op_sharded_h_optimised.cpp | 2 +- .../bcast/multi_core_hw/bcast_op_multi_core_hw.cpp | 2 +- .../bcast/multi_core_w/bcast_op_multi_core_w.cpp | 2 +- .../tt_dnn/op_library/complex/complex_ops.cpp | 2 +- .../tt_dnn/op_library/composite/composite_ops.cpp | 4 ++-- .../tt_dnn/op_library/composite/composite_ops.hpp | 6 +++--- .../tt_dnn/op_library/compute_kernel_config.hpp | 2 +- .../tt_dnn/op_library/concat/concat_op.cpp | 4 ++-- .../tt_dnn/op_library/concat/concat_op.hpp | 2 +- .../experimental/tt_dnn/op_library/copy/copy_op.hpp | 2 +- .../op_library/data_transfer/data_transfer_op.hpp | 2 +- .../tt_dnn/op_library/embeddings/embeddings_op.hpp | 2 +- .../op_library/fast_reduce_nc/fast_reduce_nc_op.cpp | 2 +- .../op_library/fast_reduce_nc/fast_reduce_nc_op.hpp | 2 +- .../tt_dnn/op_library/fill_rm/fill_rm_op.hpp | 2 +- .../experimental/tt_dnn/op_library/fold/fold_op.hpp | 2 +- .../fully_connected/fully_connected_op.hpp | 2 +- .../op_library/indexed_fill/indexed_fill_op.hpp | 2 +- .../layernorm_post_allgather_op.hpp | 2 +- .../layernorm_pre_allgather_op.hpp | 2 +- .../layout_conversion/layout_conversion_op.hpp | 2 +- .../experimental/tt_dnn/op_library/loss/loss_op.hpp | 2 +- .../tt_dnn/op_library/moreh_adam/moreh_adam.cpp | 4 ++-- .../tt_dnn/op_library/moreh_adam/moreh_adam_op.cpp | 2 +- .../tt_dnn/op_library/moreh_adam/moreh_adam_op.hpp | 2 +- .../tt_dnn/op_library/moreh_adamw/moreh_adamw.cpp | 4 ++-- .../tt_dnn/op_library/moreh_adamw/moreh_adamw_op.cpp | 2 +- .../tt_dnn/op_library/moreh_adamw/moreh_adamw_op.hpp | 2 +- .../op_library/moreh_arange/moreh_arange_op.hpp | 2 +- .../tt_dnn/op_library/moreh_bmm/moreh_bmm_op.hpp | 2 +- .../moreh_bmm_backward/moreh_bmm_backward_op.hpp | 2 +- .../moreh_clip_grad_norm/moreh_clip_grad_norm_op.hpp | 4 ++-- .../moreh_clip_grad_norm_step1.cpp | 4 ++-- .../moreh_clip_grad_norm_step2.cpp | 4 ++-- .../moreh_clip_grad_norm_step3.cpp | 4 ++-- .../op_library/moreh_cumsum/moreh_cumsum_op.hpp | 2 +- .../tt_dnn/op_library/moreh_dot/moreh_dot_op.hpp | 2 +- .../moreh_dot_backward/moreh_dot_backward_op.hpp | 2 +- .../op_library/moreh_getitem/moreh_getitem_op.hpp | 2 +- .../moreh_getitem_rm/moreh_getitem_rm.cpp | 2 +- .../moreh_getitem_tilized/moreh_getitem_tilized.cpp | 2 +- .../op_library/moreh_groupnorm/moreh_groupnorm.cpp | 4 ++-- .../moreh_groupnorm/moreh_groupnorm_op.hpp | 4 ++-- .../moreh_groupnorm_backward_gamma_beta_grad.cpp | 4 ++-- .../moreh_groupnorm_backward_input_grad.cpp | 4 ++-- .../moreh_groupnorm_backward_op.hpp | 4 ++-- .../tt_dnn/op_library/moreh_helper_functions.hpp | 2 +- .../moreh_layernorm/moreh_layernorm_op.cpp | 4 ++-- .../moreh_layernorm/moreh_layernorm_op.hpp | 2 +- .../moreh_layernorm_backward_gamma_beta_grad.cpp | 4 ++-- .../moreh_layernorm_backward_input_grad.cpp | 4 ++-- .../moreh_layernorm_backward_op.hpp | 2 +- .../op_library/moreh_linear/moreh_linear_op.hpp | 2 +- .../moreh_linear_backward_op.hpp | 2 +- .../op_library/moreh_matmul/moreh_matmul_op.hpp | 2 +- .../moreh_matmul_backward_op.hpp | 2 +- .../tt_dnn/op_library/moreh_mean/moreh_mean_op.hpp | 2 +- .../moreh_mean_backward/moreh_mean_backward_op.hpp | 2 +- .../op_library/moreh_nll_loss/moreh_nll_loss_op.hpp | 2 +- .../moreh_nll_loss_backward_op.hpp | 2 +- .../moreh_nll_loss_unreduced_op.hpp | 2 +- .../moreh_nll_loss_unreduced_backward_op.hpp | 2 +- .../moreh_norm/moreh_norm_h/moreh_norm_h.cpp | 4 ++-- .../tt_dnn/op_library/moreh_norm/moreh_norm_op.cpp | 4 ++-- .../tt_dnn/op_library/moreh_norm/moreh_norm_op.hpp | 2 +- .../moreh_norm/moreh_norm_other/moreh_norm_other.cpp | 4 ++-- .../moreh_norm/moreh_norm_w/moreh_norm_w.cpp | 4 ++-- .../moreh_norm_backward/moreh_norm_backward.cpp | 4 ++-- .../moreh_norm_backward/moreh_norm_backward_op.cpp | 4 ++-- .../moreh_norm_backward/moreh_norm_backward_op.hpp | 2 +- .../tt_dnn/op_library/moreh_sgd/moreh_sgd_op.hpp | 2 +- .../op_library/moreh_softmax/moreh_softmax_op.hpp | 2 +- .../moreh_softmax_backward_op.hpp | 2 +- .../tt_dnn/op_library/moreh_sum/moreh_sum_op.hpp | 2 +- .../moreh_sum_backward/moreh_sum_backward_op.hpp | 2 +- .../experimental/tt_dnn/op_library/move/move_op.hpp | 2 +- .../tt_dnn/op_library/nlp_tms/nlp_tms.hpp | 2 +- .../non_zero_indices/non_zero_indices_op.hpp | 2 +- .../paged_update_cache/paged_update_cache_op.hpp | 2 +- .../tt_dnn/op_library/prod/prod_nc_op.hpp | 2 +- .../tt_dnn/op_library/prod/prod_op_all.hpp | 2 +- .../tt_dnn/op_library/reduce/reduce_op.cpp | 2 +- .../tt_dnn/op_library/reduce/reduce_op.hpp | 2 +- .../tt_dnn/op_library/repeat/repeat_op.cpp | 2 +- .../tt_dnn/op_library/repeat/repeat_op.hpp | 2 +- .../tt_dnn/op_library/reshape/reshape_op.cpp | 4 ++-- .../tt_dnn/op_library/reshape/reshape_op.hpp | 2 +- .../rotary_embedding/rotary_embedding_llama_op.hpp | 2 +- .../rotary_embedding/rotary_embedding_op.hpp | 2 +- .../tt_dnn/op_library/rotate_half/rotate_half_op.hpp | 2 +- .../experimental/tt_dnn/op_library/scan/scan_op.hpp | 2 +- .../experimental/tt_dnn/op_library/sdpa/sdpa_op.cpp | 2 +- .../experimental/tt_dnn/op_library/sdpa/sdpa_op.hpp | 4 ++-- .../tt_dnn/op_library/sharded/sharded_op.hpp | 2 +- .../sharded_partial/sharded_op_partial.cpp | 2 +- .../sharded_partial/sharded_op_partial.hpp | 2 +- .../op_library/sliding_window_op_infra/halo_op.hpp | 2 +- .../reference_sliding_window.cpp | 4 ++-- .../reference_sliding_window.hpp | 8 ++++---- .../sliding_window_op_infra/sliding_window.hpp | 2 +- .../split/split_last_dim_two_chunks_tiled.hpp | 2 +- .../tt_dnn/op_library/split/split_tiled.hpp | 2 +- .../multi_core_ssm_prefix_scan.cpp | 2 +- .../op_library/transformer_tms/transformer_tms.hpp | 2 +- .../tt_dnn/op_library/transpose/transpose_op.hpp | 2 +- .../tt_dnn/op_library/untilize/untilize_op.cpp | 2 +- .../tt_dnn/op_library/untilize/untilize_op.hpp | 2 +- .../op_library/untilize/untilize_with_halo_op.cpp | 2 +- .../op_library/untilize/untilize_with_halo_op_v2.cpp | 2 +- .../op_library/update_cache/update_cache_op.hpp | 2 +- .../tt_dnn/op_library/work_split_tilize.hpp | 2 +- .../tt_lib/csrc/tt_lib_bindings_tensor.cpp | 8 ++++---- .../tt_lib/csrc/tt_lib_bindings_tensor_pytensor.cpp | 4 ++-- ttnn/cpp/ttnn/experimental/tt_numpy/functions.hpp | 12 ++++++------ ttnn/cpp/ttnn/multi_device.hpp | 2 +- ttnn/cpp/ttnn/op_library/to_dtype/to_dtype_op.hpp | 2 +- ttnn/cpp/ttnn/op_library/to_layout/to_layout_op.hpp | 6 +++--- .../to_memory_config/to_memory_config_op.hpp | 2 +- ttnn/cpp/ttnn/operation.hpp | 2 +- ttnn/cpp/ttnn/operation_history.hpp | 2 +- .../ccl/all_gather/device/all_gather_op.cpp | 2 +- .../ccl/all_gather/device/all_gather_op.hpp | 2 +- .../device/multi_core/all_gather_op_multi_core.cpp | 2 +- ttnn/cpp/ttnn/operations/ccl/ccl_common.hpp | 2 +- .../ttnn/operations/ccl/ccl_host_datastructures.hpp | 2 +- .../line_all_gather/device/line_all_gather_op.cpp | 2 +- .../line_all_gather/device/line_all_gather_op.hpp | 2 +- .../device/host/reduce_scatter_full_worker_grid.cpp | 2 +- ttnn/cpp/ttnn/operations/conv2d/conv2d.hpp | 4 ++-- ttnn/cpp/ttnn/operations/conv2d/device/conv_op.hpp | 2 +- .../multi_core_optimized_conv/optimized_conv_op.cpp | 2 +- .../optimized_conv_op_sharded.cpp | 2 +- .../optimized_conv_op_sharded_v2.cpp | 2 +- .../operations/conv2d/device/optimized_conv_op.hpp | 2 +- .../device/optimized_conv_op_program_factory.cpp | 2 +- ttnn/cpp/ttnn/operations/core.hpp | 6 +++--- ttnn/cpp/ttnn/operations/creation.hpp | 6 +++--- ttnn/cpp/ttnn/operations/data_movement.hpp | 2 +- .../ttnn/operations/data_movement/concat/concat.hpp | 2 +- .../downsample/device/downsample_op.hpp | 2 +- .../data_movement/downsample/downsample.hpp | 2 +- .../operations/data_movement/pad/device/pad_op.hpp | 2 +- .../data_movement/pad/device/pad_program_factory.hpp | 2 +- ttnn/cpp/ttnn/operations/data_movement/pad/pad.hpp | 2 +- .../data_movement/permute/permute_impl.cpp | 2 +- .../data_movement/slice/device/slice_op.hpp | 2 +- .../data_movement/tilize/device/tilize_op.hpp | 2 +- .../device/tilize_with_val_padding_op.cpp | 2 +- .../device/tilize_with_val_padding_op.hpp | 2 +- .../eltwise/binary/device/binary_composite_op.hpp | 2 +- .../binary/device/binary_device_operation.hpp | 6 +++--- ...t_height_and_width_multi_core_program_factory.cpp | 2 +- .../broadcast_height_multi_core_program_factory.cpp | 2 +- .../broadcast_width_multi_core_program_factory.cpp | 2 +- .../binary_backward/device/binary_backward_op.hpp | 2 +- .../complex_binary/device/complex_binary_op.hpp | 2 +- .../device/complex_binary_backward_op.hpp | 2 +- .../complex_unary/device/complex_unary_op.hpp | 2 +- .../device/complex_unary_backward_op.hpp | 2 +- .../eltwise/ternary/device/ternary_composite_op.hpp | 2 +- .../ternary_backward/device/ternary_backward_op.hpp | 2 +- .../eltwise/unary/device/unary_composite_op.hpp | 2 +- .../operations/eltwise/unary/device/unary_op.cpp | 2 +- .../operations/eltwise/unary/device/unary_op.hpp | 6 +++--- .../unary_backward/device/unary_backward_op.hpp | 2 +- .../embedding/embedding/device/embeddings_op.hpp | 2 +- .../example/device/example_device_operation.hpp | 2 +- .../device/transformer_device_operation.hpp | 2 +- ttnn/cpp/ttnn/operations/matmul/device/matmul_op.hpp | 4 ++-- ttnn/cpp/ttnn/operations/matmul/matmul.hpp | 2 +- .../normalization/groupnorm/device/groupnorm_op.hpp | 2 +- .../normalization/layernorm/device/layernorm_op.hpp | 2 +- .../normalization/softmax/device/softmax_op.cpp | 2 +- .../normalization/softmax/device/softmax_op.hpp | 4 ++-- ttnn/cpp/ttnn/operations/pool/avgpool/avg_pool.hpp | 2 +- .../pool/maxpool/device/max_pool_multi_core.cpp | 4 ++-- .../pool/maxpool/device/max_pool_program_factory.cpp | 4 ++-- .../pool/maxpool/device/max_pool_single_core.cpp | 4 ++-- ttnn/cpp/ttnn/operations/pool/maxpool/max_pool.hpp | 2 +- .../operations/reduction/argmax/device/argmax_op.hpp | 2 +- .../operations/reduction/topk/device/topk_op.hpp | 2 +- ttnn/cpp/ttnn/operations/transformer/transformer.hpp | 2 +- ttnn/cpp/ttnn/operations/upsample/upsample_op.cpp | 4 ++-- ttnn/cpp/ttnn/operations/upsample/upsample_op.hpp | 2 +- ttnn/cpp/ttnn/run_operation.cpp | 4 ++-- ttnn/cpp/ttnn/run_operation.hpp | 2 +- ttnn/cpp/ttnn/run_operation_inl.hpp | 4 ++-- .../ttnn/{experimental => }/tensor/CMakeLists.txt | 0 .../tensor/host_buffer/functions.hpp | 4 ++-- .../{experimental => }/tensor/host_buffer/types.hpp | 0 .../ttnn/{experimental => }/tensor/serialization.cpp | 8 ++++---- .../ttnn/{experimental => }/tensor/serialization.hpp | 2 +- ttnn/cpp/ttnn/{experimental => }/tensor/tensor.cpp | 10 +++++----- ttnn/cpp/ttnn/{experimental => }/tensor/tensor.hpp | 2 +- .../ttnn/{experimental => }/tensor/tensor_impl.cpp | 4 ++-- .../ttnn/{experimental => }/tensor/tensor_impl.hpp | 8 ++++---- .../tensor/tensor_impl_wrapper.hpp | 2 +- .../ttnn/{experimental => }/tensor/tensor_utils.cpp | 6 +++--- .../ttnn/{experimental => }/tensor/tensor_utils.hpp | 2 +- ttnn/cpp/ttnn/{experimental => }/tensor/types.cpp | 2 +- ttnn/cpp/ttnn/{experimental => }/tensor/types.hpp | 2 +- ttnn/cpp/ttnn/types.hpp | 4 ++-- 249 files changed, 360 insertions(+), 363 deletions(-) rename ttnn/cpp/ttnn/{experimental/ttnn => }/config.hpp (100%) rename ttnn/cpp/ttnn/{experimental => }/tensor/CMakeLists.txt (100%) rename ttnn/cpp/ttnn/{experimental => }/tensor/host_buffer/functions.hpp (98%) rename ttnn/cpp/ttnn/{experimental => }/tensor/host_buffer/types.hpp (100%) rename ttnn/cpp/ttnn/{experimental => }/tensor/serialization.cpp (98%) rename ttnn/cpp/ttnn/{experimental => }/tensor/serialization.hpp (93%) rename ttnn/cpp/ttnn/{experimental => }/tensor/tensor.cpp (99%) rename ttnn/cpp/ttnn/{experimental => }/tensor/tensor.hpp (99%) rename ttnn/cpp/ttnn/{experimental => }/tensor/tensor_impl.cpp (99%) rename ttnn/cpp/ttnn/{experimental => }/tensor/tensor_impl.hpp (98%) rename ttnn/cpp/ttnn/{experimental => }/tensor/tensor_impl_wrapper.hpp (98%) rename ttnn/cpp/ttnn/{experimental => }/tensor/tensor_utils.cpp (99%) rename ttnn/cpp/ttnn/{experimental => }/tensor/tensor_utils.hpp (99%) rename ttnn/cpp/ttnn/{experimental => }/tensor/types.cpp (99%) rename ttnn/cpp/ttnn/{experimental => }/tensor/types.hpp (99%) diff --git a/tests/tt_eager/integration_tests/test_bert.cpp b/tests/tt_eager/integration_tests/test_bert.cpp index 8644ff327d4..c6dc83edc36 100644 --- a/tests/tt_eager/integration_tests/test_bert.cpp +++ b/tests/tt_eager/integration_tests/test_bert.cpp @@ -4,8 +4,8 @@ #include -#include "tensor/host_buffer/types.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operation.hpp" #include "ttnn/cpp/ttnn/operations/normalization/softmax/softmax.hpp" #include "ttnn/experimental/tt_dnn/op_library/transformer_tms/transformer_tms.hpp" diff --git a/tests/tt_eager/ops/test_average_pool.cpp b/tests/tt_eager/ops/test_average_pool.cpp index 108ce824906..4fd9132faf3 100644 --- a/tests/tt_eager/ops/test_average_pool.cpp +++ b/tests/tt_eager/ops/test_average_pool.cpp @@ -7,7 +7,7 @@ #include "tt_dnn/op_library/auto_format.hpp" #include "tt_numpy/functions.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "common/constants.hpp" using tt::tt_metal::Host; diff --git a/tests/tt_eager/ops/test_bcast_op.cpp b/tests/tt_eager/ops/test_bcast_op.cpp index 3901d143f7a..4d6af6b5faf 100644 --- a/tests/tt_eager/ops/test_bcast_op.cpp +++ b/tests/tt_eager/ops/test_bcast_op.cpp @@ -3,7 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 #include "tt_metal/host_api.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/experimental/tt_dnn/op_library/bcast/bcast_op.hpp" #include "common/constants.hpp" #include "third_party/magic_enum/magic_enum.hpp" diff --git a/tests/tt_eager/ops/test_bmm_op.cpp b/tests/tt_eager/ops/test_bmm_op.cpp index 210d5e13df1..acbdb4d3d04 100644 --- a/tests/tt_eager/ops/test_bmm_op.cpp +++ b/tests/tt_eager/ops/test_bmm_op.cpp @@ -3,7 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 #include "tt_metal/host_api.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operations/matmul/device/matmul_op.hpp" #include "common/constants.hpp" #include "tt_numpy/functions.hpp" diff --git a/tests/tt_eager/ops/test_eltwise_binary_op.cpp b/tests/tt_eager/ops/test_eltwise_binary_op.cpp index d6cc0bb6b67..e77d2e79c9a 100644 --- a/tests/tt_eager/ops/test_eltwise_binary_op.cpp +++ b/tests/tt_eager/ops/test_eltwise_binary_op.cpp @@ -3,9 +3,9 @@ // SPDX-License-Identifier: Apache-2.0 #include "common/constants.hpp" -#include "tensor/host_buffer/functions.hpp" -#include "tensor/host_buffer/types.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operations/eltwise/binary/binary.hpp" #include "tt_numpy/functions.hpp" diff --git a/tests/tt_eager/ops/test_eltwise_unary_op.cpp b/tests/tt_eager/ops/test_eltwise_unary_op.cpp index f75061c682d..34c073ae2a7 100644 --- a/tests/tt_eager/ops/test_eltwise_unary_op.cpp +++ b/tests/tt_eager/ops/test_eltwise_unary_op.cpp @@ -5,9 +5,9 @@ #include #include "common/constants.hpp" -#include "tensor/host_buffer/functions.hpp" -#include "tensor/host_buffer/types.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operations/eltwise/unary/unary.hpp" #include "ttnn/operations/eltwise/unary/device/unary_op.hpp" #include "ttnn/operations/data_movement/pad/pad.hpp" diff --git a/tests/tt_eager/ops/test_fold_op.cpp b/tests/tt_eager/ops/test_fold_op.cpp index c20213a84ae..c0a03b6e1bf 100644 --- a/tests/tt_eager/ops/test_fold_op.cpp +++ b/tests/tt_eager/ops/test_fold_op.cpp @@ -7,7 +7,7 @@ #include #include -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/experimental/tt_dnn/op_library/fold/fold_op.hpp" #include "tt_metal/host_api.hpp" diff --git a/tests/tt_eager/ops/test_layernorm_op.cpp b/tests/tt_eager/ops/test_layernorm_op.cpp index f7a2339f5b4..2daa2283a19 100644 --- a/tests/tt_eager/ops/test_layernorm_op.cpp +++ b/tests/tt_eager/ops/test_layernorm_op.cpp @@ -3,7 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 #include "tt_metal/host_api.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operations/normalization/layernorm/layernorm.hpp" #include diff --git a/tests/tt_eager/ops/test_pad_op.cpp b/tests/tt_eager/ops/test_pad_op.cpp index 9a95ab3f2fc..08e5fee8761 100644 --- a/tests/tt_eager/ops/test_pad_op.cpp +++ b/tests/tt_eager/ops/test_pad_op.cpp @@ -5,8 +5,8 @@ #include #include "common/constants.hpp" -#include "tensor/host_buffer/types.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operation.hpp" #include "ttnn/cpp/ttnn/operations/data_movement/pad/pad.hpp" #include "tt_metal/host_api.hpp" diff --git a/tests/tt_eager/ops/test_reduce_op.cpp b/tests/tt_eager/ops/test_reduce_op.cpp index 7424354fa3a..9e13d9f34e5 100644 --- a/tests/tt_eager/ops/test_reduce_op.cpp +++ b/tests/tt_eager/ops/test_reduce_op.cpp @@ -5,7 +5,7 @@ #include "ttnn/experimental/tt_dnn/op_library/reduce/reduce_op.hpp" #include "tt_numpy/functions.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "common/constants.hpp" using tt::tt_metal::Device; diff --git a/tests/tt_eager/ops/test_sliding_window_ops.cpp b/tests/tt_eager/ops/test_sliding_window_ops.cpp index 3e935f979a6..f3410cc2a1c 100644 --- a/tests/tt_eager/ops/test_sliding_window_ops.cpp +++ b/tests/tt_eager/ops/test_sliding_window_ops.cpp @@ -4,11 +4,11 @@ #include -#include "tensor/host_buffer/functions.hpp" -#include "tensor/host_buffer/types.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/reference_sliding_window.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "tt_metal/host_api.hpp" #include "ttnn/experimental/tt_numpy/functions.hpp" diff --git a/tests/tt_eager/ops/test_softmax_op.cpp b/tests/tt_eager/ops/test_softmax_op.cpp index 59f39541cc2..0c19ab3593a 100644 --- a/tests/tt_eager/ops/test_softmax_op.cpp +++ b/tests/tt_eager/ops/test_softmax_op.cpp @@ -3,7 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 #include "tt_metal/host_api.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operations/normalization/softmax/softmax.hpp" #include "ttnn/experimental/tt_numpy/functions.hpp" diff --git a/tests/tt_eager/ops/test_tilize_op.cpp b/tests/tt_eager/ops/test_tilize_op.cpp index 7500d990e50..af7bb635f10 100644 --- a/tests/tt_eager/ops/test_tilize_op.cpp +++ b/tests/tt_eager/ops/test_tilize_op.cpp @@ -8,9 +8,9 @@ #include #include "common/constants.hpp" -#include "tensor/host_buffer/functions.hpp" -#include "tensor/host_buffer/types.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operations/data_movement/tilize/tilize.hpp" #include "tt_metal/host_api.hpp" diff --git a/tests/tt_eager/ops/test_tilize_op_channels_last.cpp b/tests/tt_eager/ops/test_tilize_op_channels_last.cpp index c98c45fd5cb..897c5694f56 100644 --- a/tests/tt_eager/ops/test_tilize_op_channels_last.cpp +++ b/tests/tt_eager/ops/test_tilize_op_channels_last.cpp @@ -7,9 +7,9 @@ #include #include "common/constants.hpp" -#include "tensor/host_buffer/functions.hpp" -#include "tensor/host_buffer/types.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operations/data_movement/tilize/tilize.hpp" #include "tt_metal/host_api.hpp" #include "tt_numpy/functions.hpp" diff --git a/tests/tt_eager/ops/test_tilize_zero_padding.cpp b/tests/tt_eager/ops/test_tilize_zero_padding.cpp index f022c3c99e2..b492a4e0c57 100644 --- a/tests/tt_eager/ops/test_tilize_zero_padding.cpp +++ b/tests/tt_eager/ops/test_tilize_zero_padding.cpp @@ -7,9 +7,9 @@ #include #include "common/constants.hpp" -#include "tensor/host_buffer/functions.hpp" -#include "tensor/host_buffer/types.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operations/data_movement/tilize_with_val_padding/tilize_with_val_padding.hpp" #include "tt_metal/host_api.hpp" #include "tt_numpy/functions.hpp" diff --git a/tests/tt_eager/ops/test_tilize_zero_padding_channels_last.cpp b/tests/tt_eager/ops/test_tilize_zero_padding_channels_last.cpp index f97e9f27dae..b29527235d7 100644 --- a/tests/tt_eager/ops/test_tilize_zero_padding_channels_last.cpp +++ b/tests/tt_eager/ops/test_tilize_zero_padding_channels_last.cpp @@ -7,9 +7,9 @@ #include #include "common/constants.hpp" -#include "tensor/host_buffer/functions.hpp" -#include "tensor/host_buffer/types.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operations/data_movement/tilize_with_val_padding/tilize_with_val_padding.hpp" #include "tt_metal/host_api.hpp" #include "tt_numpy/functions.hpp" diff --git a/tests/tt_eager/ops/test_transpose_op.cpp b/tests/tt_eager/ops/test_transpose_op.cpp index 0a21a344c86..f9daabee398 100644 --- a/tests/tt_eager/ops/test_transpose_op.cpp +++ b/tests/tt_eager/ops/test_transpose_op.cpp @@ -3,7 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 #include "tt_metal/host_api.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/experimental/tt_dnn/op_library/transpose/transpose_op.hpp" #include diff --git a/tests/tt_eager/ops/test_transpose_wh_multi_core.cpp b/tests/tt_eager/ops/test_transpose_wh_multi_core.cpp index 3c6bd8ec1dd..1d2eb6780c0 100644 --- a/tests/tt_eager/ops/test_transpose_wh_multi_core.cpp +++ b/tests/tt_eager/ops/test_transpose_wh_multi_core.cpp @@ -7,9 +7,9 @@ #include #include -#include "tensor/host_buffer/functions.hpp" -#include "tensor/host_buffer/types.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/experimental/tt_dnn/op_library/transpose/transpose_op.hpp" #include "tt_metal/host_api.hpp" diff --git a/tests/tt_eager/ops/test_transpose_wh_single_core.cpp b/tests/tt_eager/ops/test_transpose_wh_single_core.cpp index 3c6bd8ec1dd..1d2eb6780c0 100644 --- a/tests/tt_eager/ops/test_transpose_wh_single_core.cpp +++ b/tests/tt_eager/ops/test_transpose_wh_single_core.cpp @@ -7,9 +7,9 @@ #include #include -#include "tensor/host_buffer/functions.hpp" -#include "tensor/host_buffer/types.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/experimental/tt_dnn/op_library/transpose/transpose_op.hpp" #include "tt_metal/host_api.hpp" diff --git a/tests/tt_eager/tensors/test_async_tensor_apis.cpp b/tests/tt_eager/tensors/test_async_tensor_apis.cpp index 61c31189813..ffa2c612b40 100644 --- a/tests/tt_eager/tensors/test_async_tensor_apis.cpp +++ b/tests/tt_eager/tensors/test_async_tensor_apis.cpp @@ -9,11 +9,11 @@ #include "common/bfloat16.hpp" #include "common/constants.hpp" -#include "tensor/host_buffer/functions.hpp" -#include "tensor/host_buffer/types.hpp" -#include "tensor/tensor.hpp" -#include "tensor/tensor_impl.hpp" -#include "tensor/types.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" +#include "ttnn/tensor/types.hpp" #include "tests/tt_metal/tt_metal/unit_tests_common/common/common_fixture.hpp" #include "tt_metal/host_api.hpp" #include "tt_numpy/functions.hpp" diff --git a/tests/tt_eager/tensors/test_copy_and_move.cpp b/tests/tt_eager/tensors/test_copy_and_move.cpp index deed2982c23..cb175ea3e29 100644 --- a/tests/tt_eager/tensors/test_copy_and_move.cpp +++ b/tests/tt_eager/tensors/test_copy_and_move.cpp @@ -8,10 +8,10 @@ #include "common/bfloat16.hpp" #include "common/constants.hpp" -#include "tensor/host_buffer/functions.hpp" -#include "tensor/host_buffer/types.hpp" -#include "tensor/tensor.hpp" -#include "tensor/tensor_impl.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "tt_metal/host_api.hpp" #include "tt_numpy/functions.hpp" diff --git a/tests/tt_eager/tensors/test_host_device_loopback.cpp b/tests/tt_eager/tensors/test_host_device_loopback.cpp index 3e0c2132aa3..b53c6fec227 100644 --- a/tests/tt_eager/tensors/test_host_device_loopback.cpp +++ b/tests/tt_eager/tensors/test_host_device_loopback.cpp @@ -7,9 +7,9 @@ #include #include "common/constants.hpp" -#include "tensor/host_buffer/functions.hpp" -#include "tensor/host_buffer/types.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" +#include "ttnn/tensor/tensor.hpp" #include "tt_metal/host_api.hpp" #include "tt_numpy/functions.hpp" diff --git a/tests/tt_eager/tensors/test_ranks.cpp b/tests/tt_eager/tensors/test_ranks.cpp index ccd355b96eb..eef030a89ba 100644 --- a/tests/tt_eager/tensors/test_ranks.cpp +++ b/tests/tt_eager/tensors/test_ranks.cpp @@ -8,10 +8,10 @@ #include "common/bfloat16.hpp" #include "common/constants.hpp" -#include "tensor/host_buffer/functions.hpp" -#include "tensor/host_buffer/types.hpp" -#include "tensor/tensor.hpp" -#include "tensor/tensor_impl.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "tt_metal/host_api.hpp" #include "tt_numpy/functions.hpp" diff --git a/tests/tt_eager/tensors/test_raw_host_memory_pointer.cpp b/tests/tt_eager/tensors/test_raw_host_memory_pointer.cpp index 42806d1f620..baa0f3dfdfa 100644 --- a/tests/tt_eager/tensors/test_raw_host_memory_pointer.cpp +++ b/tests/tt_eager/tensors/test_raw_host_memory_pointer.cpp @@ -8,10 +8,10 @@ #include "common/bfloat16.hpp" #include "common/constants.hpp" -#include "tensor/host_buffer/functions.hpp" -#include "tensor/host_buffer/types.hpp" -#include "tensor/tensor.hpp" -#include "tensor/tensor_impl.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/operations/eltwise/binary/binary.hpp" #include "ttnn/operations/eltwise/unary/unary.hpp" #include "tt_metal/host_api.hpp" diff --git a/tests/ttnn/unit_tests/gtests/test_async_runtime.cpp b/tests/ttnn/unit_tests/gtests/test_async_runtime.cpp index 3e66c250a63..972c318845c 100644 --- a/tests/ttnn/unit_tests/gtests/test_async_runtime.cpp +++ b/tests/ttnn/unit_tests/gtests/test_async_runtime.cpp @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: Apache-2.0 -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn_multi_command_queue_fixture.hpp" #include "ttnn/operations/eltwise/binary/binary.hpp" #include "ttnn/operations/eltwise/unary/device/unary_op.hpp" diff --git a/tests/ttnn/unit_tests/gtests/test_multi_cq_multi_dev.cpp b/tests/ttnn/unit_tests/gtests/test_multi_cq_multi_dev.cpp index ce35d26784e..d0cc6b49129 100644 --- a/tests/ttnn/unit_tests/gtests/test_multi_cq_multi_dev.cpp +++ b/tests/ttnn/unit_tests/gtests/test_multi_cq_multi_dev.cpp @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: Apache-2.0 -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn_multi_command_queue_fixture.hpp" #include "ttnn/operations/eltwise/binary/binary.hpp" #include "ttnn/operations/eltwise/unary/device/unary_op.hpp" diff --git a/tests/ttnn/unit_tests/gtests/test_multiprod_queue.cpp b/tests/ttnn/unit_tests/gtests/test_multiprod_queue.cpp index 29f4ee3975a..35ad16633d6 100644 --- a/tests/ttnn/unit_tests/gtests/test_multiprod_queue.cpp +++ b/tests/ttnn/unit_tests/gtests/test_multiprod_queue.cpp @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: Apache-2.0 -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn_multi_command_queue_fixture.hpp" #include "tt_metal/detail/tt_metal.hpp" #include "ttnn/operations/eltwise/binary/binary.hpp" diff --git a/tt_metal/tools/profiler/op_profiler.hpp b/tt_metal/tools/profiler/op_profiler.hpp index 689bf465d49..c374aedecb7 100644 --- a/tt_metal/tools/profiler/op_profiler.hpp +++ b/tt_metal/tools/profiler/op_profiler.hpp @@ -9,7 +9,7 @@ #include #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "third_party/json/json.hpp" #include "third_party/magic_enum/magic_enum.hpp" #include "tools/profiler/profiler.hpp" diff --git a/ttnn/CMakeLists.txt b/ttnn/CMakeLists.txt index 7c71d89eba7..ecd1457e68d 100644 --- a/ttnn/CMakeLists.txt +++ b/ttnn/CMakeLists.txt @@ -71,6 +71,7 @@ set(TTNN_SRCS ### Setup TTNN as a shared library with optional Python bindings add_subdirectory(cpp/ttnn/experimental) +add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/cpp/ttnn/tensor) set(TTNN_FINAL_SRC ${TTNN_SRCS} ${QUEUE_SRCS} @@ -83,8 +84,6 @@ set(TTNN_PUBLIC_INCLUDE_DIRS ${PROJECT_SOURCE_DIR}/tt_metal ${CMAKE_CURRENT_SOURCE_DIR} # ${PROJECT_SOURCE_DIR}/ttnn ${CMAKE_CURRENT_SOURCE_DIR}/cpp/ttnn/experimental # symlink to tt_eager; should become native folder once merge complete - ${CMAKE_CURRENT_SOURCE_DIR}/cpp/ttnn/experimental/tensor - ${CMAKE_CURRENT_SOURCE_DIR}/cpp/ttnn/experimental/queue ${CMAKE_CURRENT_SOURCE_DIR}/cpp ${PROJECT_SOURCE_DIR}/tt_metal/third_party/fmt) set(TTNN_PUBLIC_LINK_LIBRARIES compiler_flags metal_header_directories metal_common_libs tt_metal linker_flags) # linker_flags = -rdynamic if tracy enabled diff --git a/ttnn/cpp/pybind11/activation.hpp b/ttnn/cpp/pybind11/activation.hpp index 6334a56a4dc..71fc175ff63 100644 --- a/ttnn/cpp/pybind11/activation.hpp +++ b/ttnn/cpp/pybind11/activation.hpp @@ -8,7 +8,7 @@ #include #include -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/cpp/ttnn/operations/eltwise/unary/device/unary_op.hpp" #include "export_enum.hpp" diff --git a/ttnn/cpp/pybind11/multi_device.hpp b/ttnn/cpp/pybind11/multi_device.hpp index a13914ea652..175b1549d75 100644 --- a/ttnn/cpp/pybind11/multi_device.hpp +++ b/ttnn/cpp/pybind11/multi_device.hpp @@ -7,7 +7,7 @@ #include #include -#include "ttnn/experimental/tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "ttnn/multi_device.hpp" namespace py = pybind11; diff --git a/ttnn/cpp/pybind11/types.hpp b/ttnn/cpp/pybind11/types.hpp index 24801a6a977..23fdc9c23a3 100644 --- a/ttnn/cpp/pybind11/types.hpp +++ b/ttnn/cpp/pybind11/types.hpp @@ -8,7 +8,7 @@ #include #include -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/types.hpp" namespace py = pybind11; diff --git a/ttnn/cpp/ttnn/async_runtime.cpp b/ttnn/cpp/ttnn/async_runtime.cpp index 20466ad6605..29ce7c9cb59 100644 --- a/ttnn/cpp/ttnn/async_runtime.cpp +++ b/ttnn/cpp/ttnn/async_runtime.cpp @@ -4,8 +4,8 @@ #include "async_runtime.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" -#include "ttnn/experimental/tensor/tensor_impl_wrapper.hpp" +#include "ttnn/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor_impl_wrapper.hpp" namespace ttnn { using DeviceBuffer = std::shared_ptr; diff --git a/ttnn/cpp/ttnn/async_runtime.hpp b/ttnn/cpp/ttnn/async_runtime.hpp index ff52ae6fc1f..9c2bb93f7e8 100644 --- a/ttnn/cpp/ttnn/async_runtime.hpp +++ b/ttnn/cpp/ttnn/async_runtime.hpp @@ -4,7 +4,7 @@ #pragma once -#include "ttnn/experimental/tensor/types.hpp" +#include "ttnn/tensor/types.hpp" #include "ttnn/run_operation.hpp" #include "types.hpp" diff --git a/ttnn/cpp/ttnn/experimental/ttnn/config.hpp b/ttnn/cpp/ttnn/config.hpp similarity index 100% rename from ttnn/cpp/ttnn/experimental/ttnn/config.hpp rename to ttnn/cpp/ttnn/config.hpp diff --git a/ttnn/cpp/ttnn/core.hpp b/ttnn/cpp/ttnn/core.hpp index 68d31331e66..83ab913d8a5 100644 --- a/ttnn/cpp/ttnn/core.hpp +++ b/ttnn/cpp/ttnn/core.hpp @@ -7,9 +7,9 @@ #include #include "third_party/magic_enum/magic_enum.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" // TTNN_TENSOR_PRINT_PROFILE -#include "ttnn/experimental/tensor/types.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" // TTNN_TENSOR_PRINT_PROFILE +#include "ttnn/tensor/types.hpp" #include "ttnn/operation.hpp" #include "ttnn/config.hpp" #include "ttnn/types.hpp" diff --git a/ttnn/cpp/ttnn/decorators.hpp b/ttnn/cpp/ttnn/decorators.hpp index 0b8bbf3154e..57e14f2e130 100644 --- a/ttnn/cpp/ttnn/decorators.hpp +++ b/ttnn/cpp/ttnn/decorators.hpp @@ -4,7 +4,7 @@ #pragma once -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operation.hpp" #include "ttnn/run_operation.hpp" diff --git a/ttnn/cpp/ttnn/device_operation.hpp b/ttnn/cpp/ttnn/device_operation.hpp index 06949e22a36..3282929400c 100644 --- a/ttnn/cpp/ttnn/device_operation.hpp +++ b/ttnn/cpp/ttnn/device_operation.hpp @@ -6,7 +6,7 @@ #include #include -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "third_party/magic_enum/magic_enum.hpp" #include "ttnn/operation_history.hpp" diff --git a/ttnn/cpp/ttnn/experimental/CMakeLists.txt b/ttnn/cpp/ttnn/experimental/CMakeLists.txt index e631c26d303..5fc2c7a7adb 100644 --- a/ttnn/cpp/ttnn/experimental/CMakeLists.txt +++ b/ttnn/cpp/ttnn/experimental/CMakeLists.txt @@ -1,5 +1,3 @@ - -add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/tensor) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/tt_dnn) if(WITH_PYTHON_BINDINGS) diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/auto_format.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/auto_format.cpp index 52ff9a7f213..f361ca5835e 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/auto_format.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/auto_format.cpp @@ -4,7 +4,7 @@ #include "ttnn/experimental/tt_dnn/op_library/auto_format.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/experimental/tt_dnn/op_library/copy/copy_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/data_transfer/data_transfer_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/layout_conversion/layout_conversion_op.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/auto_format.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/auto_format.hpp index acaeaa20cd9..3d020db8b4b 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/auto_format.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/auto_format.hpp @@ -3,7 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "tt_metal/host_api.hpp" #include "tt_metal/common/constants.hpp" #include "ttnn/operation.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/backward/backward_ops.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/backward/backward_ops.cpp index 0798ed117de..b40db109fff 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/backward/backward_ops.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/backward/backward_ops.cpp @@ -11,7 +11,7 @@ #include "ttnn/experimental/tt_dnn/op_library/moreh_sum/moreh_sum_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/reduce/reduce_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/reshape/reshape_op.hpp" -#include "ttnn/experimental/tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "ttnn/operations/data_movement/pad/pad.hpp" #include "tt_numpy/functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/copy/copy_op.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/backward/backward_ops.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/backward/backward_ops.hpp index b8509d7ab89..3fbf472895a 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/backward/backward_ops.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/backward/backward_ops.hpp @@ -5,9 +5,9 @@ #pragma once #include -#include "tensor/host_buffer/functions.hpp" -#include "tensor/tensor.hpp" -#include "tensor/tensor_utils.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "ttnn/experimental/tt_dnn/op_library/bcast/bcast_op.hpp" #include "tt_metal/common/constants.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/bcast_op.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/bcast_op.cpp index f4a31d70838..499511b1fe6 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/bcast_op.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/bcast_op.cpp @@ -5,11 +5,11 @@ #include #include "ttnn/experimental/tt_dnn/op_library/bcast/bcast_op.hpp" -#include "ttnn/experimental/tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "tt_metal/common/assert.hpp" #include "impl/buffers/buffer.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "tt_metal/common/constants.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/bcast_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/bcast_op.hpp index 477971cdd64..c209de511cb 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/bcast_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/bcast_op.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" #include "tt_metal/common/constants.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/multi_core_h/bcast_op_multi_core_h.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/multi_core_h/bcast_op_multi_core_h.cpp index cd7e191ab29..9f9fb6d408e 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/multi_core_h/bcast_op_multi_core_h.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/multi_core_h/bcast_op_multi_core_h.cpp @@ -4,7 +4,7 @@ #include "ttnn/experimental/tt_dnn/op_library/bcast/bcast_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "tt_metal/host_api.hpp" #include "tt_metal/common/constants.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/multi_core_h/bcast_op_sharded_h.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/multi_core_h/bcast_op_sharded_h.cpp index b879b603595..b8f3dc47f5d 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/multi_core_h/bcast_op_sharded_h.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/multi_core_h/bcast_op_sharded_h.cpp @@ -4,7 +4,7 @@ #include "ttnn/experimental/tt_dnn/op_library/bcast/bcast_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "tt_metal/host_api.hpp" #include "tt_metal/common/constants.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/multi_core_h/bcast_op_sharded_h_optimised.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/multi_core_h/bcast_op_sharded_h_optimised.cpp index fc04df2334c..f64a2aedc99 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/multi_core_h/bcast_op_sharded_h_optimised.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/multi_core_h/bcast_op_sharded_h_optimised.cpp @@ -4,7 +4,7 @@ #include "ttnn/experimental/tt_dnn/op_library/bcast/bcast_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "tt_metal/host_api.hpp" #include "tt_metal/common/constants.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/multi_core_hw/bcast_op_multi_core_hw.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/multi_core_hw/bcast_op_multi_core_hw.cpp index ce8d737d5ef..0649e7bfe88 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/multi_core_hw/bcast_op_multi_core_hw.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/multi_core_hw/bcast_op_multi_core_hw.cpp @@ -6,7 +6,7 @@ #include "impl/buffers/buffer.hpp" #include "ttnn/experimental/tt_dnn/op_library/bcast/bcast_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "tt_metal/host_api.hpp" #include "tt_metal/common/constants.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/multi_core_w/bcast_op_multi_core_w.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/multi_core_w/bcast_op_multi_core_w.cpp index 6eecb522905..c8490975c6a 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/multi_core_w/bcast_op_multi_core_w.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/bcast/multi_core_w/bcast_op_multi_core_w.cpp @@ -4,7 +4,7 @@ #include "ttnn/experimental/tt_dnn/op_library/bcast/bcast_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "tt_metal/host_api.hpp" #include "tt_metal/common/constants.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/complex/complex_ops.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/complex/complex_ops.cpp index 01c491264b0..d3f936c2225 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/complex/complex_ops.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/complex/complex_ops.cpp @@ -7,7 +7,7 @@ #include "ttnn/experimental/tt_dnn/op_library/reshape/reshape_op.hpp" #include "ttnn/operations/data_movement/slice/slice.hpp" #include "tt_numpy/functions.hpp" -#include "ttnn/experimental/tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "ttnn/operations/eltwise/binary/binary.hpp" #include "ttnn/operations/eltwise/unary/unary.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/composite/composite_ops.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/composite/composite_ops.cpp index bb94d5ba98e..3bfe6d4c404 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/composite/composite_ops.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/composite/composite_ops.cpp @@ -13,8 +13,8 @@ #include "ttnn/experimental/tt_dnn/op_library/prod/prod_op_all.hpp" #include "ttnn/experimental/tt_dnn/op_library/reduce/reduce_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/reshape/reshape_op.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" -#include "ttnn/experimental/tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "ttnn/operations/data_movement/slice/slice.hpp" #include "ttnn/operations/data_movement/permute/permute.hpp" #include "tt_numpy/functions.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/composite/composite_ops.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/composite/composite_ops.hpp index 2af069f0089..19c352bbedb 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/composite/composite_ops.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/composite/composite_ops.hpp @@ -5,9 +5,9 @@ #pragma once #include -#include "tensor/host_buffer/functions.hpp" -#include "tensor/tensor.hpp" -#include "tensor/tensor_utils.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "ttnn/experimental/tt_dnn/op_library/bcast/bcast_op.hpp" #include "ttnn/operations/eltwise/unary/unary.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp index ff5b010b97b..be6a9e796ad 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" namespace tt { namespace tt_metal { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/concat/concat_op.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/concat/concat_op.cpp index 01572fcaa46..6d7aa85aada 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/concat/concat_op.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/concat/concat_op.cpp @@ -4,8 +4,8 @@ #include "ttnn/experimental/tt_dnn/op_library/concat/concat_op.hpp" -#include "tensor/tensor.hpp" -#include "tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "ttnn/experimental/tt_dnn/op_library/auto_format.hpp" #include "ttnn/experimental/tt_dnn/op_library/copy/copy_op.hpp" #include "ttnn/run_operation.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/concat/concat_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/concat/concat_op.hpp index 13c3fd51947..6556e75af27 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/concat/concat_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/concat/concat_op.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/copy/copy_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/copy/copy_op.hpp index afd2e66040a..ad66df533fb 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/copy/copy_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/copy/copy_op.hpp @@ -5,7 +5,7 @@ #pragma once #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "tt_metal/host_api.hpp" #include "tt_metal/common/constants.hpp" #include "tt_metal/detail/util.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/data_transfer/data_transfer_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/data_transfer/data_transfer_op.hpp index b8475b440cc..7d64f7b417c 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/data_transfer/data_transfer_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/data_transfer/data_transfer_op.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/embeddings/embeddings_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/embeddings/embeddings_op.hpp index 07df25f41cf..876f1f1f5d9 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/embeddings/embeddings_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/embeddings/embeddings_op.hpp @@ -7,7 +7,7 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" using namespace tt::constants; diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/fast_reduce_nc/fast_reduce_nc_op.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/fast_reduce_nc/fast_reduce_nc_op.cpp index c1f8e0534ea..f36389088cb 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/fast_reduce_nc/fast_reduce_nc_op.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/fast_reduce_nc/fast_reduce_nc_op.cpp @@ -8,7 +8,7 @@ #include "ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/reduce/reduce_op.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "tt_metal/common/constants.hpp" #include "tt_metal/host_api.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/fast_reduce_nc/fast_reduce_nc_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/fast_reduce_nc/fast_reduce_nc_op.hpp index a5f8c508fe5..49c1d129b09 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/fast_reduce_nc/fast_reduce_nc_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/fast_reduce_nc/fast_reduce_nc_op.hpp @@ -12,7 +12,7 @@ #include "ttnn/run_operation.hpp" #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/fill_rm/fill_rm_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/fill_rm/fill_rm_op.hpp index c6dedb85b76..33dc838abd2 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/fill_rm/fill_rm_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/fill_rm/fill_rm_op.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/fold/fold_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/fold/fold_op.hpp index e0e34c569ec..cf048120c0f 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/fold/fold_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/fold/fold_op.hpp @@ -6,7 +6,7 @@ #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operation.hpp" namespace tt::tt_metal { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/fully_connected/fully_connected_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/fully_connected/fully_connected_op.hpp index 32cae8b95c9..13bfa25df6e 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/fully_connected/fully_connected_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/fully_connected/fully_connected_op.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" namespace tt { namespace tt_metal { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/indexed_fill/indexed_fill_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/indexed_fill/indexed_fill_op.hpp index cea5d477df9..75d71f371be 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/indexed_fill/indexed_fill_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/indexed_fill/indexed_fill_op.hpp @@ -5,7 +5,7 @@ #pragma once #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "tt_metal/host_api.hpp" #include "tt_metal/common/constants.hpp" #include "tt_metal/detail/util.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/layernorm_distributed/layernorm_post_allgather_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/layernorm_distributed/layernorm_post_allgather_op.hpp index 7e69ba54d32..bf227784b97 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/layernorm_distributed/layernorm_post_allgather_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/layernorm_distributed/layernorm_post_allgather_op.hpp @@ -9,7 +9,7 @@ #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" #include "ttnn/run_operation.hpp" #include "ttnn/experimental/tt_dnn/op_library/layernorm_distributed/layernorm_pre_allgather_op.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operations/core.hpp" using namespace tt::constants; diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/layernorm_distributed/layernorm_pre_allgather_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/layernorm_distributed/layernorm_pre_allgather_op.hpp index 6b1fe9d0365..34c941e2735 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/layernorm_distributed/layernorm_pre_allgather_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/layernorm_distributed/layernorm_pre_allgather_op.hpp @@ -8,7 +8,7 @@ #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operations/core.hpp" using namespace tt::constants; diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/layout_conversion/layout_conversion_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/layout_conversion/layout_conversion_op.hpp index 4b4d1222c0c..83179e7ba61 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/layout_conversion/layout_conversion_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/layout_conversion/layout_conversion_op.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/loss/loss_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/loss/loss_op.hpp index c48806f1081..b65828cab2a 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/loss/loss_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/loss/loss_op.hpp @@ -6,7 +6,7 @@ #include -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" using namespace tt::constants; diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adam/moreh_adam.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adam/moreh_adam.cpp index 5e730218ed1..1fd7624e7f0 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adam/moreh_adam.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adam/moreh_adam.cpp @@ -7,8 +7,8 @@ #include "ttnn/experimental/tt_dnn/op_library/math.hpp" #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_adam/moreh_adam_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adam/moreh_adam_op.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adam/moreh_adam_op.cpp index 0feb717cf07..30b1c105fa6 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adam/moreh_adam_op.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adam/moreh_adam_op.cpp @@ -9,7 +9,7 @@ #include "ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp" #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" using namespace tt::constants; using namespace std; diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adam/moreh_adam_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adam/moreh_adam_op.hpp index a8ba1c4730f..05e44834e9f 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adam/moreh_adam_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adam/moreh_adam_op.hpp @@ -9,7 +9,7 @@ #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" #include "ttnn/operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" namespace tt { namespace operations { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adamw/moreh_adamw.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adamw/moreh_adamw.cpp index 8abca3e3f5f..18c802fafcf 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adamw/moreh_adamw.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adamw/moreh_adamw.cpp @@ -7,8 +7,8 @@ #include "ttnn/experimental/tt_dnn/op_library/math.hpp" #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_adamw/moreh_adamw_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adamw/moreh_adamw_op.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adamw/moreh_adamw_op.cpp index b6d425ac94f..47ec20f7670 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adamw/moreh_adamw_op.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adamw/moreh_adamw_op.cpp @@ -9,7 +9,7 @@ #include "ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp" #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" using namespace tt::constants; using namespace std; diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adamw/moreh_adamw_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adamw/moreh_adamw_op.hpp index 711fec5996e..d162421a041 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adamw/moreh_adamw_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_adamw/moreh_adamw_op.hpp @@ -9,7 +9,7 @@ #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" #include "ttnn/operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" namespace tt { namespace operations { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_arange/moreh_arange_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_arange/moreh_arange_op.hpp index c4b1ccb55d3..143b9c4a8c2 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_arange/moreh_arange_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_arange/moreh_arange_op.hpp @@ -6,7 +6,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_bmm/moreh_bmm_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_bmm/moreh_bmm_op.hpp index 5b5c135e784..01262e82161 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_bmm/moreh_bmm_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_bmm/moreh_bmm_op.hpp @@ -6,7 +6,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operation.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_bmm_backward/moreh_bmm_backward_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_bmm_backward/moreh_bmm_backward_op.hpp index 7c8c3080be9..e0ba9b9a09b 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_bmm_backward/moreh_bmm_backward_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_bmm_backward/moreh_bmm_backward_op.hpp @@ -6,7 +6,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operation.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_clip_grad_norm/moreh_clip_grad_norm_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_clip_grad_norm/moreh_clip_grad_norm_op.hpp index bb56ca4538e..14cdc830f3a 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_clip_grad_norm/moreh_clip_grad_norm_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_clip_grad_norm/moreh_clip_grad_norm_op.hpp @@ -11,8 +11,8 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/experimental/tt_dnn/op_library/composite/composite_ops.hpp" #include "ttnn/cpp/ttnn/operations/eltwise/binary/binary.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_clip_grad_norm/moreh_clip_grad_norm_step1/moreh_clip_grad_norm_step1.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_clip_grad_norm/moreh_clip_grad_norm_step1/moreh_clip_grad_norm_step1.cpp index 726711c3d95..3b69decb5ee 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_clip_grad_norm/moreh_clip_grad_norm_step1/moreh_clip_grad_norm_step1.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_clip_grad_norm/moreh_clip_grad_norm_step1/moreh_clip_grad_norm_step1.cpp @@ -9,8 +9,8 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_clip_grad_norm/moreh_clip_grad_norm_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_clip_grad_norm/moreh_clip_grad_norm_step2/moreh_clip_grad_norm_step2.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_clip_grad_norm/moreh_clip_grad_norm_step2/moreh_clip_grad_norm_step2.cpp index 61f205f936a..7d241960271 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_clip_grad_norm/moreh_clip_grad_norm_step2/moreh_clip_grad_norm_step2.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_clip_grad_norm/moreh_clip_grad_norm_step2/moreh_clip_grad_norm_step2.cpp @@ -8,8 +8,8 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_clip_grad_norm/moreh_clip_grad_norm_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_clip_grad_norm/moreh_clip_grad_norm_step3/moreh_clip_grad_norm_step3.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_clip_grad_norm/moreh_clip_grad_norm_step3/moreh_clip_grad_norm_step3.cpp index 5fb8db83e26..92be546d638 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_clip_grad_norm/moreh_clip_grad_norm_step3/moreh_clip_grad_norm_step3.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_clip_grad_norm/moreh_clip_grad_norm_step3/moreh_clip_grad_norm_step3.cpp @@ -8,8 +8,8 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_clip_grad_norm/moreh_clip_grad_norm_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_cumsum/moreh_cumsum_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_cumsum/moreh_cumsum_op.hpp index f99a685c893..eae1d8e5839 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_cumsum/moreh_cumsum_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_cumsum/moreh_cumsum_op.hpp @@ -10,7 +10,7 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_dot/moreh_dot_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_dot/moreh_dot_op.hpp index bba3d536a53..daf4d5462b6 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_dot/moreh_dot_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_dot/moreh_dot_op.hpp @@ -5,7 +5,7 @@ */ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_dot_backward/moreh_dot_backward_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_dot_backward/moreh_dot_backward_op.hpp index be48afdbbe1..001c527db21 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_dot_backward/moreh_dot_backward_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_dot_backward/moreh_dot_backward_op.hpp @@ -5,7 +5,7 @@ */ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_getitem/moreh_getitem_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_getitem/moreh_getitem_op.hpp index 4acaad8e552..1f63897e6fb 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_getitem/moreh_getitem_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_getitem/moreh_getitem_op.hpp @@ -9,7 +9,7 @@ #include #include "ttnn/operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" namespace tt { namespace operations { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_getitem/moreh_getitem_rm/moreh_getitem_rm.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_getitem/moreh_getitem_rm/moreh_getitem_rm.cpp index b65c5cc26ee..a06554c2a52 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_getitem/moreh_getitem_rm/moreh_getitem_rm.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_getitem/moreh_getitem_rm/moreh_getitem_rm.cpp @@ -9,7 +9,7 @@ #include "tt_metal/common/constants.hpp" #include "tt_metal/detail/util.hpp" #include "tt_metal/host_api.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor_impl.hpp" using namespace tt::constants; using namespace std; diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_getitem/moreh_getitem_tilized/moreh_getitem_tilized.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_getitem/moreh_getitem_tilized/moreh_getitem_tilized.cpp index da096432725..e016132f42e 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_getitem/moreh_getitem_tilized/moreh_getitem_tilized.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_getitem/moreh_getitem_tilized/moreh_getitem_tilized.cpp @@ -3,7 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_getitem/moreh_getitem_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_groupnorm/moreh_groupnorm.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_groupnorm/moreh_groupnorm.cpp index 2df9b5cebc1..ce37fca0cd7 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_groupnorm/moreh_groupnorm.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_groupnorm/moreh_groupnorm.cpp @@ -10,8 +10,8 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_groupnorm/moreh_groupnorm_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_groupnorm/moreh_groupnorm_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_groupnorm/moreh_groupnorm_op.hpp index 5aaaf0ab12e..b0c7e6075e3 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_groupnorm/moreh_groupnorm_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_groupnorm/moreh_groupnorm_op.hpp @@ -11,8 +11,8 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_groupnorm_backward/gamma_beta_grad/moreh_groupnorm_backward_gamma_beta_grad.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_groupnorm_backward/gamma_beta_grad/moreh_groupnorm_backward_gamma_beta_grad.cpp index 3e858725b84..272f2fba4fe 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_groupnorm_backward/gamma_beta_grad/moreh_groupnorm_backward_gamma_beta_grad.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_groupnorm_backward/gamma_beta_grad/moreh_groupnorm_backward_gamma_beta_grad.cpp @@ -10,8 +10,8 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_groupnorm_backward/moreh_groupnorm_backward_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_groupnorm_backward/input_grad/moreh_groupnorm_backward_input_grad.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_groupnorm_backward/input_grad/moreh_groupnorm_backward_input_grad.cpp index 37d274c68dc..95c80e84f41 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_groupnorm_backward/input_grad/moreh_groupnorm_backward_input_grad.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_groupnorm_backward/input_grad/moreh_groupnorm_backward_input_grad.cpp @@ -10,8 +10,8 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_groupnorm_backward/moreh_groupnorm_backward_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_groupnorm_backward/moreh_groupnorm_backward_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_groupnorm_backward/moreh_groupnorm_backward_op.hpp index 0cdb6d5f543..ef3bc0fd197 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_groupnorm_backward/moreh_groupnorm_backward_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_groupnorm_backward/moreh_groupnorm_backward_op.hpp @@ -11,8 +11,8 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp index 2c2e45f6ec1..50538f144fe 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp @@ -9,7 +9,7 @@ #include #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "tt_metal/host_api.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_layernorm/moreh_layernorm_op.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_layernorm/moreh_layernorm_op.cpp index f737b09c33f..45f9a7d9eae 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_layernorm/moreh_layernorm_op.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_layernorm/moreh_layernorm_op.cpp @@ -11,8 +11,8 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" #include "tt_metal/detail/util.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_layernorm/moreh_layernorm_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_layernorm/moreh_layernorm_op.hpp index 3764cde0a9d..96b104dc95b 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_layernorm/moreh_layernorm_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_layernorm/moreh_layernorm_op.hpp @@ -11,7 +11,7 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_layernorm_backward/gamma_beta_grad/moreh_layernorm_backward_gamma_beta_grad.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_layernorm_backward/gamma_beta_grad/moreh_layernorm_backward_gamma_beta_grad.cpp index 57f34a64007..41f7b33847b 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_layernorm_backward/gamma_beta_grad/moreh_layernorm_backward_gamma_beta_grad.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_layernorm_backward/gamma_beta_grad/moreh_layernorm_backward_gamma_beta_grad.cpp @@ -9,8 +9,8 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_layernorm_backward/moreh_layernorm_backward_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_layernorm_backward/input_grad/moreh_layernorm_backward_input_grad.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_layernorm_backward/input_grad/moreh_layernorm_backward_input_grad.cpp index 46c8a29caa8..2aeb3e0f5ac 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_layernorm_backward/input_grad/moreh_layernorm_backward_input_grad.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_layernorm_backward/input_grad/moreh_layernorm_backward_input_grad.cpp @@ -9,8 +9,8 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_layernorm_backward/moreh_layernorm_backward_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_layernorm_backward/moreh_layernorm_backward_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_layernorm_backward/moreh_layernorm_backward_op.hpp index 8d4d6e96f90..15fa9baa3c6 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_layernorm_backward/moreh_layernorm_backward_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_layernorm_backward/moreh_layernorm_backward_op.hpp @@ -11,7 +11,7 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_linear/moreh_linear_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_linear/moreh_linear_op.hpp index e376008908a..56dc844faf1 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_linear/moreh_linear_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_linear/moreh_linear_op.hpp @@ -8,7 +8,7 @@ #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" #include "ttnn/operation.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_linear_backward/moreh_linear_backward_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_linear_backward/moreh_linear_backward_op.hpp index 9066824ce57..5d8472201a6 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_linear_backward/moreh_linear_backward_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_linear_backward/moreh_linear_backward_op.hpp @@ -8,7 +8,7 @@ #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" #include "ttnn/operation.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_matmul/moreh_matmul_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_matmul/moreh_matmul_op.hpp index a02f9464f31..c6cf64fb6e2 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_matmul/moreh_matmul_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_matmul/moreh_matmul_op.hpp @@ -5,7 +5,7 @@ */ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" #include "ttnn/run_operation.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_matmul_backward/moreh_matmul_backward_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_matmul_backward/moreh_matmul_backward_op.hpp index 96622da53d6..bb20b5ec877 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_matmul_backward/moreh_matmul_backward_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_matmul_backward/moreh_matmul_backward_op.hpp @@ -5,7 +5,7 @@ */ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" #include "ttnn/run_operation.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_mean/moreh_mean_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_mean/moreh_mean_op.hpp index 0658b4c72a2..085858e1ee5 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_mean/moreh_mean_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_mean/moreh_mean_op.hpp @@ -10,7 +10,7 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_mean_backward/moreh_mean_backward_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_mean_backward/moreh_mean_backward_op.hpp index 660ebd86408..9411d6f7038 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_mean_backward/moreh_mean_backward_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_mean_backward/moreh_mean_backward_op.hpp @@ -7,7 +7,7 @@ #pragma once #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_nll_loss/moreh_nll_loss_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_nll_loss/moreh_nll_loss_op.hpp index a7241a6b1a4..7aa7f1fd9a9 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_nll_loss/moreh_nll_loss_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_nll_loss/moreh_nll_loss_op.hpp @@ -8,7 +8,7 @@ #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" #include "ttnn/operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" namespace tt { namespace operations { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_nll_loss_backward/moreh_nll_loss_backward_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_nll_loss_backward/moreh_nll_loss_backward_op.hpp index cecbc48ac29..a03855d77b6 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_nll_loss_backward/moreh_nll_loss_backward_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_nll_loss_backward/moreh_nll_loss_backward_op.hpp @@ -8,7 +8,7 @@ #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" #include "ttnn/operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" namespace tt { namespace operations { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_nll_loss_unreduced/moreh_nll_loss_unreduced_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_nll_loss_unreduced/moreh_nll_loss_unreduced_op.hpp index b10484affaa..f94df486a6d 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_nll_loss_unreduced/moreh_nll_loss_unreduced_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_nll_loss_unreduced/moreh_nll_loss_unreduced_op.hpp @@ -8,7 +8,7 @@ #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" #include "ttnn/operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" namespace tt { namespace operations { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_nll_loss_unreduced_backward/moreh_nll_loss_unreduced_backward_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_nll_loss_unreduced_backward/moreh_nll_loss_unreduced_backward_op.hpp index fe1125fd0f1..9ed5c054b03 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_nll_loss_unreduced_backward/moreh_nll_loss_unreduced_backward_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_nll_loss_unreduced_backward/moreh_nll_loss_unreduced_backward_op.hpp @@ -8,7 +8,7 @@ #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" #include "ttnn/operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" namespace tt { namespace operations { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_h/moreh_norm_h.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_h/moreh_norm_h.cpp index 6b545191d8f..aa6f4ea750b 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_h/moreh_norm_h.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_h/moreh_norm_h.cpp @@ -9,8 +9,8 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_op.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_op.cpp index 313b1ca8e5d..6e1ed46eee1 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_op.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_op.cpp @@ -13,8 +13,8 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" #include "tt_metal/detail/util.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_op.hpp index df2ea99225a..d92fe527b16 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_op.hpp @@ -10,7 +10,7 @@ #include #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operation.hpp" #include "tt_metal/host_api.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_other/moreh_norm_other.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_other/moreh_norm_other.cpp index ef54124118e..855fee36711 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_other/moreh_norm_other.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_other/moreh_norm_other.cpp @@ -9,8 +9,8 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_w/moreh_norm_w.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_w/moreh_norm_w.cpp index 64d5f8cffeb..83ff2c4c70f 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_w/moreh_norm_w.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_w/moreh_norm_w.cpp @@ -9,8 +9,8 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_norm/moreh_norm_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm_backward/moreh_norm_backward.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm_backward/moreh_norm_backward.cpp index b2f5c4d9d0a..bdea0d18f01 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm_backward/moreh_norm_backward.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm_backward/moreh_norm_backward.cpp @@ -9,8 +9,8 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_norm_backward/moreh_norm_backward_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm_backward/moreh_norm_backward_op.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm_backward/moreh_norm_backward_op.cpp index 316c98f6876..63f34cb6159 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm_backward/moreh_norm_backward_op.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm_backward/moreh_norm_backward_op.cpp @@ -11,8 +11,8 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/experimental/tt_dnn/op_library/moreh_helper_functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" #include "tt_metal/detail/util.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm_backward/moreh_norm_backward_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm_backward/moreh_norm_backward_op.hpp index 9fc1fcf0d65..ce809cb6932 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm_backward/moreh_norm_backward_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_norm_backward/moreh_norm_backward_op.hpp @@ -10,7 +10,7 @@ #include #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operation.hpp" #include "tt_metal/host_api.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_sgd/moreh_sgd_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_sgd/moreh_sgd_op.hpp index 80b44cb9c0c..2aa55efd23e 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_sgd/moreh_sgd_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_sgd/moreh_sgd_op.hpp @@ -8,7 +8,7 @@ #include #include "ttnn/operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_softmax/moreh_softmax_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_softmax/moreh_softmax_op.hpp index 2b3db266ddb..995e0efcfef 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_softmax/moreh_softmax_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_softmax/moreh_softmax_op.hpp @@ -7,7 +7,7 @@ #pragma once #include "ttnn/operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" #include diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_softmax_backward/moreh_softmax_backward_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_softmax_backward/moreh_softmax_backward_op.hpp index e3079a0b117..f9870105654 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_softmax_backward/moreh_softmax_backward_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_softmax_backward/moreh_softmax_backward_op.hpp @@ -7,7 +7,7 @@ #pragma once #include "ttnn/operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_sum/moreh_sum_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_sum/moreh_sum_op.hpp index 48951d226a2..feb99f2e81d 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_sum/moreh_sum_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_sum/moreh_sum_op.hpp @@ -13,7 +13,7 @@ #include "ttnn/run_operation.hpp" #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_sum_backward/moreh_sum_backward_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_sum_backward/moreh_sum_backward_op.hpp index 5b520cc5fcc..00eca8088f0 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_sum_backward/moreh_sum_backward_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/moreh_sum_backward/moreh_sum_backward_op.hpp @@ -7,7 +7,7 @@ #pragma once #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/move/move_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/move/move_op.hpp index be9cac69bcd..7f246114d21 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/move/move_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/move/move_op.hpp @@ -5,7 +5,7 @@ #pragma once #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "tt_metal/host_api.hpp" #include "tt_metal/common/constants.hpp" #include "tt_metal/detail/util.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/nlp_tms/nlp_tms.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/nlp_tms/nlp_tms.hpp index aa9553a3fcd..99e1d4cbff4 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/nlp_tms/nlp_tms.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/nlp_tms/nlp_tms.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" #include "ttnn/operations/core.hpp" #include "tt_metal/common/constants.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/non_zero_indices/non_zero_indices_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/non_zero_indices/non_zero_indices_op.hpp index 40e5de3cd82..ee9677d8bda 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/non_zero_indices/non_zero_indices_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/non_zero_indices/non_zero_indices_op.hpp @@ -5,7 +5,7 @@ #pragma once #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "tt_metal/host_api.hpp" #include "tt_metal/common/constants.hpp" #include "tt_metal/detail/util.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/paged_update_cache/paged_update_cache_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/paged_update_cache/paged_update_cache_op.hpp index acc69cce100..ba2bbc8cebe 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/paged_update_cache/paged_update_cache_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/paged_update_cache/paged_update_cache_op.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" #include "tt_metal/host_api.hpp" #include "tt_dnn/op_library/compute_kernel_config.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/prod/prod_nc_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/prod/prod_nc_op.hpp index 16f7e8f5818..a0c61fa7e23 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/prod/prod_nc_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/prod/prod_nc_op.hpp @@ -10,7 +10,7 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/prod/prod_op_all.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/prod/prod_op_all.hpp index d00219592a8..48cbd697c30 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/prod/prod_op_all.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/prod/prod_op_all.hpp @@ -5,7 +5,7 @@ */ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/reduce/reduce_op.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/reduce/reduce_op.cpp index d7b8efca25a..e820fb6a771 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/reduce/reduce_op.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/reduce/reduce_op.cpp @@ -3,7 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 #include "ttnn/experimental/tt_dnn/op_library/reduce/reduce_op.hpp" -#include "tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "ttnn/experimental/tt_dnn/op_library/transpose/transpose_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/auto_format.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/reduce/reduce_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/reduce/reduce_op.hpp index 19b15958c51..ad24ccffc72 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/reduce/reduce_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/reduce/reduce_op.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "tt_metal/host_api.hpp" #include "ttnn/operation.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/repeat/repeat_op.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/repeat/repeat_op.cpp index 4fc07a40ab4..b83ee10b75d 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/repeat/repeat_op.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/repeat/repeat_op.cpp @@ -4,7 +4,7 @@ #include "ttnn/experimental/tt_dnn/op_library/repeat/repeat_op.hpp" -#include "tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "ttnn/experimental/tt_dnn/op_library/auto_format.hpp" #include "ttnn/experimental/tt_dnn/op_library/copy/copy_op.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/repeat/repeat_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/repeat/repeat_op.hpp index 1c3de0b33ec..e7c24eb8059 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/repeat/repeat_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/repeat/repeat_op.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/reshape/reshape_op.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/reshape/reshape_op.cpp index d851b1fc8cd..ebf457304f5 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/reshape/reshape_op.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/reshape/reshape_op.cpp @@ -9,9 +9,9 @@ #include "tt_metal/common/constants.hpp" #include "tt_metal/detail/util.hpp" #include -#include +#include -#include "tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/reshape/reshape_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/reshape/reshape_op.hpp index ec540fe68d6..0a890a005ed 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/reshape/reshape_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/reshape/reshape_op.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/rotary_embedding/rotary_embedding_llama_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/rotary_embedding/rotary_embedding_llama_op.hpp index 7f989574e83..79534f4e485 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/rotary_embedding/rotary_embedding_llama_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/rotary_embedding/rotary_embedding_llama_op.hpp @@ -6,7 +6,7 @@ #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" #include "tt_metal/host_api.hpp" #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/rotary_embedding/rotary_embedding_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/rotary_embedding/rotary_embedding_op.hpp index 136c54cf406..c806c5ae4e8 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/rotary_embedding/rotary_embedding_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/rotary_embedding/rotary_embedding_op.hpp @@ -6,7 +6,7 @@ #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" #include "tt_metal/host_api.hpp" #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/rotate_half/rotate_half_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/rotate_half/rotate_half_op.hpp index f8030f3e622..1e3856565b4 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/rotate_half/rotate_half_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/rotate_half/rotate_half_op.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/scan/scan_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/scan/scan_op.hpp index 59d55477f93..460713c4c47 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/scan/scan_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/scan/scan_op.hpp @@ -6,7 +6,7 @@ #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace tt::tt_metal { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sdpa/sdpa_op.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sdpa/sdpa_op.cpp index 6b982309bed..16128334247 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sdpa/sdpa_op.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sdpa/sdpa_op.cpp @@ -8,7 +8,7 @@ #include #include "common/base_types.hpp" -#include "tensor/types.hpp" +#include "ttnn/tensor/types.hpp" #include "ttnn/run_operation.hpp" #include "ttnn/experimental/tt_dnn/op_library/math.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sdpa/sdpa_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sdpa/sdpa_op.hpp index 95a218de0c5..8d4703a9714 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sdpa/sdpa_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sdpa/sdpa_op.hpp @@ -6,8 +6,8 @@ #include "common/base_types.hpp" #include "common/core_coord.h" -#include "tensor/types.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/types.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operation.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sharded/sharded_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sharded/sharded_op.hpp index 5adfc35a23c..399335676a4 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sharded/sharded_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sharded/sharded_op.hpp @@ -6,7 +6,7 @@ #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" #include "tt_metal/host_api.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sharded_partial/sharded_op_partial.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sharded_partial/sharded_op_partial.cpp index aba05167e9f..cd7572412de 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sharded_partial/sharded_op_partial.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sharded_partial/sharded_op_partial.cpp @@ -5,7 +5,7 @@ #include "ttnn/experimental/tt_dnn/op_library/sharded_partial/sharded_op_partial.hpp" #include "tt_metal/common/assert.hpp" -#include "tensor/types.hpp" +#include "ttnn/tensor/types.hpp" #include "third_party/magic_enum/magic_enum.hpp" #include "tt_metal/common/constants.hpp" #include "tt_metal/host_api.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sharded_partial/sharded_op_partial.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sharded_partial/sharded_op_partial.hpp index b1d81e6d6e9..604ee5f536a 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sharded_partial/sharded_op_partial.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sharded_partial/sharded_op_partial.hpp @@ -8,7 +8,7 @@ #include "tt_metal/common/assert.hpp" #include "impl/buffers/buffer.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" #include "tt_metal/host_api.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/halo_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/halo_op.hpp index b0ef729b00a..0df58b8b8dd 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/halo_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/halo_op.hpp @@ -7,7 +7,7 @@ #include #include -// #include "tensor/tensor.hpp" +// #include "ttnn/tensor/tensor.hpp" // #include "ttnn/run_operation.hpp" #include "ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/sliding_window.hpp" #include "ttnn/experimental/tt_dnn/op_library/untilize/untilize_op.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/reference_sliding_window.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/reference_sliding_window.cpp index 24daaed641d..0a3c1dd56cc 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/reference_sliding_window.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/reference_sliding_window.cpp @@ -9,8 +9,8 @@ #include #include "impl/device/device.hpp" -#include "tensor/host_buffer/functions.hpp" -#include "tensor/host_buffer/types.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" namespace tt::tt_metal::sliding_window { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/reference_sliding_window.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/reference_sliding_window.hpp index d18edd289fc..ffe0320485d 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/reference_sliding_window.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/reference_sliding_window.hpp @@ -8,11 +8,11 @@ #include #include "common/bfloat16.hpp" -#include "tensor/host_buffer/types.hpp" -#include "tensor/tensor.hpp" -#include "tensor/types.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/types.hpp" #include "ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/sliding_window.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" using tt::tt_metal::Shape; using tt::tt_metal::Tensor; diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/sliding_window.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/sliding_window.hpp index d850bca4a50..36ffdd410ce 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/sliding_window.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/sliding_window.hpp @@ -8,7 +8,7 @@ #include #include -#include "ttnn/experimental/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" #include "utils.hpp" namespace tt::tt_metal { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/split/split_last_dim_two_chunks_tiled.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/split/split_last_dim_two_chunks_tiled.hpp index 6ac90e22098..7154ba1a483 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/split/split_last_dim_two_chunks_tiled.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/split/split_last_dim_two_chunks_tiled.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" #include "ttnn/experimental/tt_dnn/op_library/split/split_tiled.hpp" #include "tt_metal/host_api.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/split/split_tiled.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/split/split_tiled.hpp index 37038c6ed9b..bc8d85cccf6 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/split/split_tiled.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/split/split_tiled.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" #include "tt_metal/host_api.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/transformer_tms/multi_core_ssm_prefix_scan/multi_core_ssm_prefix_scan.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/transformer_tms/multi_core_ssm_prefix_scan/multi_core_ssm_prefix_scan.cpp index df2a8c1632e..b1e97dccbb0 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/transformer_tms/multi_core_ssm_prefix_scan/multi_core_ssm_prefix_scan.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/transformer_tms/multi_core_ssm_prefix_scan/multi_core_ssm_prefix_scan.cpp @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: Apache-2.0 -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operation.hpp" #include "tt_metal/host_api.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/transformer_tms/transformer_tms.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/transformer_tms/transformer_tms.hpp index f1eb2888367..16a3dd82eb1 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/transformer_tms/transformer_tms.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/transformer_tms/transformer_tms.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/transpose/transpose_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/transpose/transpose_op.hpp index f58cc7abe8b..4d230aff668 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/transpose/transpose_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/transpose/transpose_op.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/untilize/untilize_op.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/untilize/untilize_op.cpp index b80860b770a..6c1861b31f1 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/untilize/untilize_op.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/untilize/untilize_op.cpp @@ -6,7 +6,7 @@ #include -#include "tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "ttnn/experimental/tt_dnn/op_library/copy/copy_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/math.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/untilize/untilize_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/untilize/untilize_op.hpp index ce4ec29a1d4..e533c4ea0ff 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/untilize/untilize_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/untilize/untilize_op.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" #include "ttnn/experimental/tt_dnn/op_library/sharding_utilities.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/untilize/untilize_with_halo_op.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/untilize/untilize_with_halo_op.cpp index 348d5d474aa..26219b083b1 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/untilize/untilize_with_halo_op.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/untilize/untilize_with_halo_op.cpp @@ -4,7 +4,7 @@ #include -#include "tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/math.hpp" #include "ttnn/experimental/tt_dnn/op_library/sharding_utilities.hpp" #include "ttnn/experimental/tt_dnn/op_library/untilize/untilize_op.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/untilize/untilize_with_halo_op_v2.cpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/untilize/untilize_with_halo_op_v2.cpp index f280118a508..ba535e5a3fe 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/untilize/untilize_with_halo_op_v2.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/untilize/untilize_with_halo_op_v2.cpp @@ -6,7 +6,7 @@ #include -#include "tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" #include "ttnn/experimental/tt_dnn/op_library/math.hpp" #include "ttnn/experimental/tt_dnn/op_library/sharding_utilities.hpp" #include "ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/utils.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/update_cache/update_cache_op.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/update_cache/update_cache_op.hpp index 42265729303..00e27eb45a5 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/update_cache/update_cache_op.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/update_cache/update_cache_op.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" #include "tt_metal/host_api.hpp" #include "tt_dnn/op_library/compute_kernel_config.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/work_split_tilize.hpp b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/work_split_tilize.hpp index 2321535dd81..c271c609180 100644 --- a/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/work_split_tilize.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_dnn/op_library/work_split_tilize.hpp @@ -8,7 +8,7 @@ #pragma once -#include "tensor/types.hpp" +#include "ttnn/tensor/types.hpp" #include "tt_metal/common/core_coord.h" namespace tt::tt_metal { diff --git a/ttnn/cpp/ttnn/experimental/tt_lib/csrc/tt_lib_bindings_tensor.cpp b/ttnn/cpp/ttnn/experimental/tt_lib/csrc/tt_lib_bindings_tensor.cpp index 95187f4e319..b751d0de0db 100644 --- a/ttnn/cpp/ttnn/experimental/tt_lib/csrc/tt_lib_bindings_tensor.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_lib/csrc/tt_lib_bindings_tensor.cpp @@ -4,10 +4,10 @@ #include "tt_lib_bindings_tensor.hpp" -#include "tensor/host_buffer/types.hpp" -#include "tensor/serialization.hpp" -#include "tensor/tensor_impl.hpp" -#include "tensor/tensor_utils.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" +#include "ttnn/tensor/serialization.hpp" +#include "ttnn/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "ttnn/experimental/tt_dnn/op_library/auto_format.hpp" #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" #include "ttnn/experimental/tt_dnn/op_library/embeddings/embeddings_op.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_lib/csrc/tt_lib_bindings_tensor_pytensor.cpp b/ttnn/cpp/ttnn/experimental/tt_lib/csrc/tt_lib_bindings_tensor_pytensor.cpp index 45eddf9d1c0..b15a74eb76c 100644 --- a/ttnn/cpp/ttnn/experimental/tt_lib/csrc/tt_lib_bindings_tensor_pytensor.cpp +++ b/ttnn/cpp/ttnn/experimental/tt_lib/csrc/tt_lib_bindings_tensor_pytensor.cpp @@ -5,8 +5,8 @@ #include #include -#include "tensor/host_buffer/types.hpp" -#include "tensor/tensor_impl.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/run_operation.hpp" #include "tt_lib_bindings_tensor.hpp" #include "tt_metal/tools/profiler/op_profiler.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tt_numpy/functions.hpp b/ttnn/cpp/ttnn/experimental/tt_numpy/functions.hpp index 2fe6572a549..a95a2dac252 100644 --- a/ttnn/cpp/ttnn/experimental/tt_numpy/functions.hpp +++ b/ttnn/cpp/ttnn/experimental/tt_numpy/functions.hpp @@ -7,12 +7,12 @@ #include #include #include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include +#include +#include namespace tt { diff --git a/ttnn/cpp/ttnn/multi_device.hpp b/ttnn/cpp/ttnn/multi_device.hpp index 821b6cca94e..fa174251a53 100644 --- a/ttnn/cpp/ttnn/multi_device.hpp +++ b/ttnn/cpp/ttnn/multi_device.hpp @@ -6,7 +6,7 @@ #include -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "tt_metal/impl/device/multi_device.hpp" using Device = ttnn::Device; diff --git a/ttnn/cpp/ttnn/op_library/to_dtype/to_dtype_op.hpp b/ttnn/cpp/ttnn/op_library/to_dtype/to_dtype_op.hpp index fc7ae2c0149..6d1ff8f26bf 100644 --- a/ttnn/cpp/ttnn/op_library/to_dtype/to_dtype_op.hpp +++ b/ttnn/cpp/ttnn/op_library/to_dtype/to_dtype_op.hpp @@ -7,7 +7,7 @@ #include #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operations/core.hpp" #include "ttnn/types.hpp" diff --git a/ttnn/cpp/ttnn/op_library/to_layout/to_layout_op.hpp b/ttnn/cpp/ttnn/op_library/to_layout/to_layout_op.hpp index 89ed3d5217f..94108d1380a 100644 --- a/ttnn/cpp/ttnn/op_library/to_layout/to_layout_op.hpp +++ b/ttnn/cpp/ttnn/op_library/to_layout/to_layout_op.hpp @@ -7,10 +7,10 @@ #include #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "third_party/magic_enum/magic_enum.hpp" -#include "ttnn/experimental/tensor/host_buffer/functions.hpp" -#include "ttnn/experimental/tensor/tensor_utils.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" #include "ttnn/run_operation.hpp" #include "tt_metal/host_api.hpp" diff --git a/ttnn/cpp/ttnn/op_library/to_memory_config/to_memory_config_op.hpp b/ttnn/cpp/ttnn/op_library/to_memory_config/to_memory_config_op.hpp index 42446ed51f6..a7a4cf7fb36 100644 --- a/ttnn/cpp/ttnn/op_library/to_memory_config/to_memory_config_op.hpp +++ b/ttnn/cpp/ttnn/op_library/to_memory_config/to_memory_config_op.hpp @@ -6,7 +6,7 @@ #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/experimental/tt_dnn/op_library/copy/copy_op.hpp" #include "ttnn/run_operation.hpp" #include "ttnn/experimental/tt_dnn/op_library/sharded/sharded_op.hpp" diff --git a/ttnn/cpp/ttnn/operation.hpp b/ttnn/cpp/ttnn/operation.hpp index e23905612fc..ba2ba9bf494 100644 --- a/ttnn/cpp/ttnn/operation.hpp +++ b/ttnn/cpp/ttnn/operation.hpp @@ -5,7 +5,7 @@ #pragma once #include -#include +#include #include "tt_metal/detail/program.hpp" /* Need this for GetKernel, which is used in CQ Set/Update Runtime Args Functions */ #include "tt_metal/host_api.hpp" diff --git a/ttnn/cpp/ttnn/operation_history.hpp b/ttnn/cpp/ttnn/operation_history.hpp index 8df7dc5009c..c36e61f94a3 100644 --- a/ttnn/cpp/ttnn/operation_history.hpp +++ b/ttnn/cpp/ttnn/operation_history.hpp @@ -4,7 +4,7 @@ #pragma once -#include +#include #include "ttnn/operation.hpp" diff --git a/ttnn/cpp/ttnn/operations/ccl/all_gather/device/all_gather_op.cpp b/ttnn/cpp/ttnn/operations/ccl/all_gather/device/all_gather_op.cpp index 725a79c26b7..a251a55f4c5 100644 --- a/ttnn/cpp/ttnn/operations/ccl/all_gather/device/all_gather_op.cpp +++ b/ttnn/cpp/ttnn/operations/ccl/all_gather/device/all_gather_op.cpp @@ -7,7 +7,7 @@ #include "tt_metal/host_api.hpp" -#include "tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "eth_l1_address_map.h" diff --git a/ttnn/cpp/ttnn/operations/ccl/all_gather/device/all_gather_op.hpp b/ttnn/cpp/ttnn/operations/ccl/all_gather/device/all_gather_op.hpp index dedb862a443..50e7b99ed7e 100644 --- a/ttnn/cpp/ttnn/operations/ccl/all_gather/device/all_gather_op.hpp +++ b/ttnn/cpp/ttnn/operations/ccl/all_gather/device/all_gather_op.hpp @@ -7,7 +7,7 @@ #include #include "common/core_coord.h" #include "impl/buffers/buffer.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/cpp/ttnn/operations/ccl/shared_with_host/hetergeneous_data_structs.hpp" #include "tt_metal/common/constants.hpp" #include "tt_metal/host_api.hpp" diff --git a/ttnn/cpp/ttnn/operations/ccl/all_gather/device/multi_core/all_gather_op_multi_core.cpp b/ttnn/cpp/ttnn/operations/ccl/all_gather/device/multi_core/all_gather_op_multi_core.cpp index 1644f211adf..d377c075261 100644 --- a/ttnn/cpp/ttnn/operations/ccl/all_gather/device/multi_core/all_gather_op_multi_core.cpp +++ b/ttnn/cpp/ttnn/operations/ccl/all_gather/device/multi_core/all_gather_op_multi_core.cpp @@ -7,7 +7,7 @@ #include "tt_metal/common/core_coord.h" #include "eth_l1_address_map.h" #include "impl/buffers/buffer.hpp" -#include "tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/cpp/ttnn/operations/ccl/all_gather/device/all_gather_op.hpp" #include "ttnn/cpp/ttnn/operations/ccl/shared_with_host/hetergeneous_data_structs.hpp" #include "ttnn/cpp/ttnn/operations/ccl/ccl_host_datastructures.hpp" diff --git a/ttnn/cpp/ttnn/operations/ccl/ccl_common.hpp b/ttnn/cpp/ttnn/operations/ccl/ccl_common.hpp index 447be1a91ec..82591ec2652 100644 --- a/ttnn/cpp/ttnn/operations/ccl/ccl_common.hpp +++ b/ttnn/cpp/ttnn/operations/ccl/ccl_common.hpp @@ -12,7 +12,7 @@ #include "ttnn/cpp/ttnn/operations/ccl/shared_with_host/hetergeneous_data_structs.hpp" #include "tt_metal/host_api.hpp" #include "tt_metal/impl/program/program.hpp" -#include "ttnn/experimental/tensor/types.hpp" +#include "ttnn/tensor/types.hpp" namespace ttnn { namespace ccl { diff --git a/ttnn/cpp/ttnn/operations/ccl/ccl_host_datastructures.hpp b/ttnn/cpp/ttnn/operations/ccl/ccl_host_datastructures.hpp index 55066f63eea..92f3ab8b86b 100644 --- a/ttnn/cpp/ttnn/operations/ccl/ccl_host_datastructures.hpp +++ b/ttnn/cpp/ttnn/operations/ccl/ccl_host_datastructures.hpp @@ -5,7 +5,7 @@ #pragma once #include "eth_l1_address_map.h" -#include "tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/cpp/ttnn/operations/ccl/shared_with_host/hetergeneous_data_structs.hpp" #include diff --git a/ttnn/cpp/ttnn/operations/ccl/line_all_gather/device/line_all_gather_op.cpp b/ttnn/cpp/ttnn/operations/ccl/line_all_gather/device/line_all_gather_op.cpp index 4c32817bdfb..bad87db1ebf 100644 --- a/ttnn/cpp/ttnn/operations/ccl/line_all_gather/device/line_all_gather_op.cpp +++ b/ttnn/cpp/ttnn/operations/ccl/line_all_gather/device/line_all_gather_op.cpp @@ -8,7 +8,7 @@ #include "tt_metal/host_api.hpp" -#include "tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "eth_l1_address_map.h" diff --git a/ttnn/cpp/ttnn/operations/ccl/line_all_gather/device/line_all_gather_op.hpp b/ttnn/cpp/ttnn/operations/ccl/line_all_gather/device/line_all_gather_op.hpp index c6c12de3ec6..3562c919ab3 100644 --- a/ttnn/cpp/ttnn/operations/ccl/line_all_gather/device/line_all_gather_op.hpp +++ b/ttnn/cpp/ttnn/operations/ccl/line_all_gather/device/line_all_gather_op.hpp @@ -7,7 +7,7 @@ #include #include "common/core_coord.h" #include "impl/buffers/buffer.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/cpp/ttnn/operations/ccl/shared_with_host/hetergeneous_data_structs.hpp" #include "tt_metal/common/constants.hpp" #include "tt_metal/host_api.hpp" diff --git a/ttnn/cpp/ttnn/operations/ccl/reduce_scatter/device/host/reduce_scatter_full_worker_grid.cpp b/ttnn/cpp/ttnn/operations/ccl/reduce_scatter/device/host/reduce_scatter_full_worker_grid.cpp index cb4d84d6d74..ba19dd9eab5 100644 --- a/ttnn/cpp/ttnn/operations/ccl/reduce_scatter/device/host/reduce_scatter_full_worker_grid.cpp +++ b/ttnn/cpp/ttnn/operations/ccl/reduce_scatter/device/host/reduce_scatter_full_worker_grid.cpp @@ -7,7 +7,7 @@ #include "eth_l1_address_map.h" #include "impl/buffers/buffer.hpp" #include "impl/kernels/data_types.hpp" -#include "tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor_impl.hpp" #include "ttnn/cpp/ttnn/operations/ccl/shared_with_host/hetergeneous_data_structs.hpp" #include "ttnn/cpp/ttnn/operations/ccl/ccl_host_datastructures.hpp" #include "ttnn/cpp/ttnn/operations/ccl/ccl_common.hpp" diff --git a/ttnn/cpp/ttnn/operations/conv2d/conv2d.hpp b/ttnn/cpp/ttnn/operations/conv2d/conv2d.hpp index 50dee9f08fc..79ada3837bc 100644 --- a/ttnn/cpp/ttnn/operations/conv2d/conv2d.hpp +++ b/ttnn/cpp/ttnn/operations/conv2d/conv2d.hpp @@ -11,13 +11,13 @@ #include "ttnn/cpp/ttnn/operations/matmul/matmul.hpp" #include "ttnn/cpp/ttnn/operations/matmul/device/matmul_op.hpp" #include "ttnn/types.hpp" -#include "ttnn/experimental/tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "tt_metal/impl/dispatch/command_queue.hpp" #include "tt_metal/common/math.hpp" #include "ttnn/operations/data_movement/pad/pad.hpp" #include "ttnn/operations/conv2d/device/optimized_conv_op.hpp" #include "ttnn/operations/conv2d/device/conv_op.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/sliding_window.hpp" #include "ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/halo_op.hpp" diff --git a/ttnn/cpp/ttnn/operations/conv2d/device/conv_op.hpp b/ttnn/cpp/ttnn/operations/conv2d/device/conv_op.hpp index f8fb47a3af6..63c75012b25 100644 --- a/ttnn/cpp/ttnn/operations/conv2d/device/conv_op.hpp +++ b/ttnn/cpp/ttnn/operations/conv2d/device/conv_op.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/operations/conv2d/device/multi_core_optimized_conv/optimized_conv_op.cpp b/ttnn/cpp/ttnn/operations/conv2d/device/multi_core_optimized_conv/optimized_conv_op.cpp index 5492466d072..9519bb62c1a 100644 --- a/ttnn/cpp/ttnn/operations/conv2d/device/multi_core_optimized_conv/optimized_conv_op.cpp +++ b/ttnn/cpp/ttnn/operations/conv2d/device/multi_core_optimized_conv/optimized_conv_op.cpp @@ -15,7 +15,7 @@ #include "ttnn/experimental/tt_dnn/op_library/sharding_utilities.hpp" #include "ttnn/experimental/tt_dnn/op_library/auto_format.hpp" -#include "tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_utils.hpp" using namespace tt::constants; diff --git a/ttnn/cpp/ttnn/operations/conv2d/device/multi_core_optimized_conv_sharded/optimized_conv_op_sharded.cpp b/ttnn/cpp/ttnn/operations/conv2d/device/multi_core_optimized_conv_sharded/optimized_conv_op_sharded.cpp index 3b1feed7de6..9f80f715347 100644 --- a/ttnn/cpp/ttnn/operations/conv2d/device/multi_core_optimized_conv_sharded/optimized_conv_op_sharded.cpp +++ b/ttnn/cpp/ttnn/operations/conv2d/device/multi_core_optimized_conv_sharded/optimized_conv_op_sharded.cpp @@ -15,7 +15,7 @@ #include "ttnn/experimental/tt_dnn/op_library/sharding_utilities.hpp" #include "ttnn/experimental/tt_dnn/op_library/auto_format.hpp" -#include "tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_utils.hpp" using namespace tt::constants; diff --git a/ttnn/cpp/ttnn/operations/conv2d/device/multi_core_optimized_conv_sharded/optimized_conv_op_sharded_v2.cpp b/ttnn/cpp/ttnn/operations/conv2d/device/multi_core_optimized_conv_sharded/optimized_conv_op_sharded_v2.cpp index 37f10be66a8..54b0aba034e 100644 --- a/ttnn/cpp/ttnn/operations/conv2d/device/multi_core_optimized_conv_sharded/optimized_conv_op_sharded_v2.cpp +++ b/ttnn/cpp/ttnn/operations/conv2d/device/multi_core_optimized_conv_sharded/optimized_conv_op_sharded_v2.cpp @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: Apache-2.0 -#include "tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "ttnn/experimental/tt_dnn/op_library/auto_format.hpp" #include "ttnn/operations/conv2d/device/optimized_conv_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/sharding_utilities.hpp" diff --git a/ttnn/cpp/ttnn/operations/conv2d/device/optimized_conv_op.hpp b/ttnn/cpp/ttnn/operations/conv2d/device/optimized_conv_op.hpp index c18b8a27d19..b5ec1cbeaa6 100644 --- a/ttnn/cpp/ttnn/operations/conv2d/device/optimized_conv_op.hpp +++ b/ttnn/cpp/ttnn/operations/conv2d/device/optimized_conv_op.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" diff --git a/ttnn/cpp/ttnn/operations/conv2d/device/optimized_conv_op_program_factory.cpp b/ttnn/cpp/ttnn/operations/conv2d/device/optimized_conv_op_program_factory.cpp index 908f10b916a..e6191653493 100644 --- a/ttnn/cpp/ttnn/operations/conv2d/device/optimized_conv_op_program_factory.cpp +++ b/ttnn/cpp/ttnn/operations/conv2d/device/optimized_conv_op_program_factory.cpp @@ -16,7 +16,7 @@ #include "ttnn/experimental/tt_dnn/op_library/sharding_utilities.hpp" #include "ttnn/experimental/tt_dnn/op_library/auto_format.hpp" -#include "tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_utils.hpp" using namespace tt::constants; namespace optimized_conv_op_utils { diff --git a/ttnn/cpp/ttnn/operations/core.hpp b/ttnn/cpp/ttnn/operations/core.hpp index 076ed3edef6..d87ca20df06 100644 --- a/ttnn/cpp/ttnn/operations/core.hpp +++ b/ttnn/cpp/ttnn/operations/core.hpp @@ -4,9 +4,9 @@ #pragma once -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_utils.hpp" -#include "ttnn/experimental/tensor/types.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_utils.hpp" +#include "ttnn/tensor/types.hpp" #include "ttnn/experimental/tt_dnn/op_library/copy/copy_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/move/move_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/reshape/reshape_op.hpp" diff --git a/ttnn/cpp/ttnn/operations/creation.hpp b/ttnn/cpp/ttnn/operations/creation.hpp index 7abc75e4636..0a5a38676d9 100644 --- a/ttnn/cpp/ttnn/operations/creation.hpp +++ b/ttnn/cpp/ttnn/operations/creation.hpp @@ -4,9 +4,9 @@ #pragma once -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/tensor_utils.hpp" -#include "ttnn/experimental/tensor/types.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_utils.hpp" +#include "ttnn/tensor/types.hpp" #include "ttnn/experimental/tt_numpy/functions.hpp" #include "tt_metal/impl/dispatch/command_queue.hpp" #include "ttnn/core.hpp" diff --git a/ttnn/cpp/ttnn/operations/data_movement.hpp b/ttnn/cpp/ttnn/operations/data_movement.hpp index f57d518879d..bf298e1cc2f 100644 --- a/ttnn/cpp/ttnn/operations/data_movement.hpp +++ b/ttnn/cpp/ttnn/operations/data_movement.hpp @@ -4,7 +4,7 @@ #pragma once -#include "ttnn/experimental/tensor/types.hpp" +#include "ttnn/tensor/types.hpp" #include "ttnn/experimental/tt_dnn/op_library/concat/concat_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/repeat/repeat_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/composite/composite_ops.hpp" diff --git a/ttnn/cpp/ttnn/operations/data_movement/concat/concat.hpp b/ttnn/cpp/ttnn/operations/data_movement/concat/concat.hpp index 67cf6c6f753..a8d528cdec6 100644 --- a/ttnn/cpp/ttnn/operations/data_movement/concat/concat.hpp +++ b/ttnn/cpp/ttnn/operations/data_movement/concat/concat.hpp @@ -4,7 +4,7 @@ #pragma once -#include "ttnn/experimental/tensor/types.hpp" +#include "ttnn/tensor/types.hpp" #include "ttnn/cpp/ttnn/operations/core.hpp" #include "ttnn/experimental/tt_dnn/op_library/concat/concat_op.hpp" diff --git a/ttnn/cpp/ttnn/operations/data_movement/downsample/device/downsample_op.hpp b/ttnn/cpp/ttnn/operations/data_movement/downsample/device/downsample_op.hpp index a25da1ab5d0..747b17721bf 100644 --- a/ttnn/cpp/ttnn/operations/data_movement/downsample/device/downsample_op.hpp +++ b/ttnn/cpp/ttnn/operations/data_movement/downsample/device/downsample_op.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace ttnn { diff --git a/ttnn/cpp/ttnn/operations/data_movement/downsample/downsample.hpp b/ttnn/cpp/ttnn/operations/data_movement/downsample/downsample.hpp index 83259c51971..927ffdec319 100644 --- a/ttnn/cpp/ttnn/operations/data_movement/downsample/downsample.hpp +++ b/ttnn/cpp/ttnn/operations/data_movement/downsample/downsample.hpp @@ -4,7 +4,7 @@ #pragma once -#include "ttnn/experimental/tensor/types.hpp" +#include "ttnn/tensor/types.hpp" #include "ttnn/cpp/ttnn/operations/core.hpp" #include "ttnn/run_operation.hpp" diff --git a/ttnn/cpp/ttnn/operations/data_movement/pad/device/pad_op.hpp b/ttnn/cpp/ttnn/operations/data_movement/pad/device/pad_op.hpp index f187f202562..493ed5af947 100644 --- a/ttnn/cpp/ttnn/operations/data_movement/pad/device/pad_op.hpp +++ b/ttnn/cpp/ttnn/operations/data_movement/pad/device/pad_op.hpp @@ -6,7 +6,7 @@ #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace ttnn::operations::data_movement { diff --git a/ttnn/cpp/ttnn/operations/data_movement/pad/device/pad_program_factory.hpp b/ttnn/cpp/ttnn/operations/data_movement/pad/device/pad_program_factory.hpp index 04cb765519b..baebd3cf29d 100644 --- a/ttnn/cpp/ttnn/operations/data_movement/pad/device/pad_program_factory.hpp +++ b/ttnn/cpp/ttnn/operations/data_movement/pad/device/pad_program_factory.hpp @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: Apache-2.0 -#include "tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" #include "tt_metal/host_api.hpp" #include "ttnn/experimental/tt_dnn/op_library/math.hpp" #include "tt_metal/common/constants.hpp" diff --git a/ttnn/cpp/ttnn/operations/data_movement/pad/pad.hpp b/ttnn/cpp/ttnn/operations/data_movement/pad/pad.hpp index 17666cc533f..508e60028ac 100644 --- a/ttnn/cpp/ttnn/operations/data_movement/pad/pad.hpp +++ b/ttnn/cpp/ttnn/operations/data_movement/pad/pad.hpp @@ -4,7 +4,7 @@ #pragma once -#include "ttnn/experimental/tensor/types.hpp" +#include "ttnn/tensor/types.hpp" #include "ttnn/cpp/ttnn/operations/core.hpp" #include "ttnn/run_operation.hpp" diff --git a/ttnn/cpp/ttnn/operations/data_movement/permute/permute_impl.cpp b/ttnn/cpp/ttnn/operations/data_movement/permute/permute_impl.cpp index b2a6d6f07ca..9d605e3756f 100644 --- a/ttnn/cpp/ttnn/operations/data_movement/permute/permute_impl.cpp +++ b/ttnn/cpp/ttnn/operations/data_movement/permute/permute_impl.cpp @@ -8,7 +8,7 @@ #include "tt_metal/host_api.hpp" #include "tt_metal/common/constants.hpp" #include "ttnn/experimental/tt_dnn/op_library/auto_format.hpp" -#include "ttnn/experimental/tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_utils.hpp" namespace ttnn { diff --git a/ttnn/cpp/ttnn/operations/data_movement/slice/device/slice_op.hpp b/ttnn/cpp/ttnn/operations/data_movement/slice/device/slice_op.hpp index 1be60ee1d81..c917fe3d119 100644 --- a/ttnn/cpp/ttnn/operations/data_movement/slice/device/slice_op.hpp +++ b/ttnn/cpp/ttnn/operations/data_movement/slice/device/slice_op.hpp @@ -6,7 +6,7 @@ #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace ttnn::operations::data_movement { diff --git a/ttnn/cpp/ttnn/operations/data_movement/tilize/device/tilize_op.hpp b/ttnn/cpp/ttnn/operations/data_movement/tilize/device/tilize_op.hpp index 760a4c1e677..eb2ad178af3 100644 --- a/ttnn/cpp/ttnn/operations/data_movement/tilize/device/tilize_op.hpp +++ b/ttnn/cpp/ttnn/operations/data_movement/tilize/device/tilize_op.hpp @@ -6,7 +6,7 @@ #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operation.hpp" namespace ttnn::operations::data_movement { diff --git a/ttnn/cpp/ttnn/operations/data_movement/tilize_with_val_padding/device/tilize_with_val_padding_op.cpp b/ttnn/cpp/ttnn/operations/data_movement/tilize_with_val_padding/device/tilize_with_val_padding_op.cpp index 0e54d942825..d6faf96336a 100644 --- a/ttnn/cpp/ttnn/operations/data_movement/tilize_with_val_padding/device/tilize_with_val_padding_op.cpp +++ b/ttnn/cpp/ttnn/operations/data_movement/tilize_with_val_padding/device/tilize_with_val_padding_op.cpp @@ -4,7 +4,7 @@ #include "tilize_with_val_padding_op.hpp" -#include "tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "tilize_with_val_padding_program_factory.hpp" #include "ttnn/run_operation.hpp" diff --git a/ttnn/cpp/ttnn/operations/data_movement/tilize_with_val_padding/device/tilize_with_val_padding_op.hpp b/ttnn/cpp/ttnn/operations/data_movement/tilize_with_val_padding/device/tilize_with_val_padding_op.hpp index 5636b783f52..ae59a36a01f 100644 --- a/ttnn/cpp/ttnn/operations/data_movement/tilize_with_val_padding/device/tilize_with_val_padding_op.hpp +++ b/ttnn/cpp/ttnn/operations/data_movement/tilize_with_val_padding/device/tilize_with_val_padding_op.hpp @@ -6,7 +6,7 @@ #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operation.hpp" namespace ttnn::operations::data_movement { diff --git a/ttnn/cpp/ttnn/operations/eltwise/binary/device/binary_composite_op.hpp b/ttnn/cpp/ttnn/operations/eltwise/binary/device/binary_composite_op.hpp index 00d368f321c..f6da0791187 100644 --- a/ttnn/cpp/ttnn/operations/eltwise/binary/device/binary_composite_op.hpp +++ b/ttnn/cpp/ttnn/operations/eltwise/binary/device/binary_composite_op.hpp @@ -5,7 +5,7 @@ #pragma once #include #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "third_party/magic_enum/magic_enum.hpp" namespace ttnn::operations::binary{ diff --git a/ttnn/cpp/ttnn/operations/eltwise/binary/device/binary_device_operation.hpp b/ttnn/cpp/ttnn/operations/eltwise/binary/device/binary_device_operation.hpp index 5a8408a7100..256d2ecc2c7 100644 --- a/ttnn/cpp/ttnn/operations/eltwise/binary/device/binary_device_operation.hpp +++ b/ttnn/cpp/ttnn/operations/eltwise/binary/device/binary_device_operation.hpp @@ -8,10 +8,10 @@ #include #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "third_party/magic_enum/magic_enum.hpp" -#include "ttnn/experimental/tensor/host_buffer/functions.hpp" -#include "ttnn/experimental/tensor/tensor_utils.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" #include "ttnn/operations/eltwise/unary/device/unary_op.hpp" #include "ttnn/run_operation.hpp" diff --git a/ttnn/cpp/ttnn/operations/eltwise/binary/device/broadcast_height_and_width_multi_core_program_factory.cpp b/ttnn/cpp/ttnn/operations/eltwise/binary/device/broadcast_height_and_width_multi_core_program_factory.cpp index bfbbc076e03..a78b2974ee9 100644 --- a/ttnn/cpp/ttnn/operations/eltwise/binary/device/broadcast_height_and_width_multi_core_program_factory.cpp +++ b/ttnn/cpp/ttnn/operations/eltwise/binary/device/broadcast_height_and_width_multi_core_program_factory.cpp @@ -6,7 +6,7 @@ #include "binary_device_operation.hpp" #include "impl/buffers/buffer.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/experimental/tt_dnn/op_library/bcast/bcast_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" #include "tt_metal/common/constants.hpp" diff --git a/ttnn/cpp/ttnn/operations/eltwise/binary/device/broadcast_height_multi_core_program_factory.cpp b/ttnn/cpp/ttnn/operations/eltwise/binary/device/broadcast_height_multi_core_program_factory.cpp index 3abb05b0bdc..c5c7d0ee4e8 100644 --- a/ttnn/cpp/ttnn/operations/eltwise/binary/device/broadcast_height_multi_core_program_factory.cpp +++ b/ttnn/cpp/ttnn/operations/eltwise/binary/device/broadcast_height_multi_core_program_factory.cpp @@ -3,7 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 #include "binary_device_operation.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/experimental/tt_dnn/op_library/bcast/bcast_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" #include "tt_metal/common/constants.hpp" diff --git a/ttnn/cpp/ttnn/operations/eltwise/binary/device/broadcast_width_multi_core_program_factory.cpp b/ttnn/cpp/ttnn/operations/eltwise/binary/device/broadcast_width_multi_core_program_factory.cpp index 80edac697c3..92ce6b2173b 100644 --- a/ttnn/cpp/ttnn/operations/eltwise/binary/device/broadcast_width_multi_core_program_factory.cpp +++ b/ttnn/cpp/ttnn/operations/eltwise/binary/device/broadcast_width_multi_core_program_factory.cpp @@ -3,7 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 #include "binary_device_operation.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/experimental/tt_dnn/op_library/bcast/bcast_op.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" #include "tt_metal/common/constants.hpp" diff --git a/ttnn/cpp/ttnn/operations/eltwise/binary_backward/device/binary_backward_op.hpp b/ttnn/cpp/ttnn/operations/eltwise/binary_backward/device/binary_backward_op.hpp index 4bd8cde5b18..37bb0b23e5b 100644 --- a/ttnn/cpp/ttnn/operations/eltwise/binary_backward/device/binary_backward_op.hpp +++ b/ttnn/cpp/ttnn/operations/eltwise/binary_backward/device/binary_backward_op.hpp @@ -6,7 +6,7 @@ #include #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "third_party/magic_enum/magic_enum.hpp" #include "ttnn/types.hpp" diff --git a/ttnn/cpp/ttnn/operations/eltwise/complex_binary/device/complex_binary_op.hpp b/ttnn/cpp/ttnn/operations/eltwise/complex_binary/device/complex_binary_op.hpp index 62f5f47563c..988a8f7a6e5 100644 --- a/ttnn/cpp/ttnn/operations/eltwise/complex_binary/device/complex_binary_op.hpp +++ b/ttnn/cpp/ttnn/operations/eltwise/complex_binary/device/complex_binary_op.hpp @@ -6,7 +6,7 @@ #include #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "third_party/magic_enum/magic_enum.hpp" #include "ttnn/experimental/tt_dnn/op_library/complex/complex_ops.hpp" diff --git a/ttnn/cpp/ttnn/operations/eltwise/complex_binary_backward/device/complex_binary_backward_op.hpp b/ttnn/cpp/ttnn/operations/eltwise/complex_binary_backward/device/complex_binary_backward_op.hpp index 9bb4118b3a6..1291325bb45 100644 --- a/ttnn/cpp/ttnn/operations/eltwise/complex_binary_backward/device/complex_binary_backward_op.hpp +++ b/ttnn/cpp/ttnn/operations/eltwise/complex_binary_backward/device/complex_binary_backward_op.hpp @@ -6,7 +6,7 @@ #include #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "third_party/magic_enum/magic_enum.hpp" #include "ttnn/experimental/tt_dnn/op_library/complex/complex_ops.hpp" diff --git a/ttnn/cpp/ttnn/operations/eltwise/complex_unary/device/complex_unary_op.hpp b/ttnn/cpp/ttnn/operations/eltwise/complex_unary/device/complex_unary_op.hpp index 6aa739c3517..2b0bcf0900a 100644 --- a/ttnn/cpp/ttnn/operations/eltwise/complex_unary/device/complex_unary_op.hpp +++ b/ttnn/cpp/ttnn/operations/eltwise/complex_unary/device/complex_unary_op.hpp @@ -6,7 +6,7 @@ #include #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "third_party/magic_enum/magic_enum.hpp" #include "ttnn/experimental/tt_dnn/op_library/complex/complex_ops.hpp" diff --git a/ttnn/cpp/ttnn/operations/eltwise/complex_unary_backward/device/complex_unary_backward_op.hpp b/ttnn/cpp/ttnn/operations/eltwise/complex_unary_backward/device/complex_unary_backward_op.hpp index ce6379b6d8f..9278defce54 100644 --- a/ttnn/cpp/ttnn/operations/eltwise/complex_unary_backward/device/complex_unary_backward_op.hpp +++ b/ttnn/cpp/ttnn/operations/eltwise/complex_unary_backward/device/complex_unary_backward_op.hpp @@ -6,7 +6,7 @@ #include #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "third_party/magic_enum/magic_enum.hpp" #include "ttnn/experimental/tt_dnn/op_library/complex/complex_ops.hpp" diff --git a/ttnn/cpp/ttnn/operations/eltwise/ternary/device/ternary_composite_op.hpp b/ttnn/cpp/ttnn/operations/eltwise/ternary/device/ternary_composite_op.hpp index 02558a2c8c8..01bd3bb7c7f 100644 --- a/ttnn/cpp/ttnn/operations/eltwise/ternary/device/ternary_composite_op.hpp +++ b/ttnn/cpp/ttnn/operations/eltwise/ternary/device/ternary_composite_op.hpp @@ -4,7 +4,7 @@ #pragma once #include #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "third_party/magic_enum/magic_enum.hpp" namespace ttnn::operations::ternary{ diff --git a/ttnn/cpp/ttnn/operations/eltwise/ternary_backward/device/ternary_backward_op.hpp b/ttnn/cpp/ttnn/operations/eltwise/ternary_backward/device/ternary_backward_op.hpp index 4977fb2f5ed..fe100cd0a3d 100644 --- a/ttnn/cpp/ttnn/operations/eltwise/ternary_backward/device/ternary_backward_op.hpp +++ b/ttnn/cpp/ttnn/operations/eltwise/ternary_backward/device/ternary_backward_op.hpp @@ -6,7 +6,7 @@ #include #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "third_party/magic_enum/magic_enum.hpp" diff --git a/ttnn/cpp/ttnn/operations/eltwise/unary/device/unary_composite_op.hpp b/ttnn/cpp/ttnn/operations/eltwise/unary/device/unary_composite_op.hpp index 1930f8a948c..d8f14c3ab29 100644 --- a/ttnn/cpp/ttnn/operations/eltwise/unary/device/unary_composite_op.hpp +++ b/ttnn/cpp/ttnn/operations/eltwise/unary/device/unary_composite_op.hpp @@ -5,7 +5,7 @@ #pragma once #include #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "third_party/magic_enum/magic_enum.hpp" namespace ttnn::operations::unary{ diff --git a/ttnn/cpp/ttnn/operations/eltwise/unary/device/unary_op.cpp b/ttnn/cpp/ttnn/operations/eltwise/unary/device/unary_op.cpp index 92cc7e1cf64..6d97188c621 100644 --- a/ttnn/cpp/ttnn/operations/eltwise/unary/device/unary_op.cpp +++ b/ttnn/cpp/ttnn/operations/eltwise/unary/device/unary_op.cpp @@ -6,7 +6,7 @@ #include "unary_program_factory_multicore.hpp" #include "unary_program_factory_sharded.hpp" #include "third_party/magic_enum/magic_enum.hpp" -#include "ttnn/experimental/tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "tt_metal/common/constants.hpp" #include "tt_metal/host_api.hpp" #include "tt_metal/tools/profiler/op_profiler.hpp" diff --git a/ttnn/cpp/ttnn/operations/eltwise/unary/device/unary_op.hpp b/ttnn/cpp/ttnn/operations/eltwise/unary/device/unary_op.hpp index ace2352ff92..506f078174a 100644 --- a/ttnn/cpp/ttnn/operations/eltwise/unary/device/unary_op.hpp +++ b/ttnn/cpp/ttnn/operations/eltwise/unary/device/unary_op.hpp @@ -7,10 +7,10 @@ #include #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "third_party/magic_enum/magic_enum.hpp" -#include "ttnn/experimental/tensor/host_buffer/functions.hpp" -#include "ttnn/experimental/tensor/tensor_utils.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "ttnn/run_operation.hpp" diff --git a/ttnn/cpp/ttnn/operations/eltwise/unary_backward/device/unary_backward_op.hpp b/ttnn/cpp/ttnn/operations/eltwise/unary_backward/device/unary_backward_op.hpp index be685ae40a8..b9a159dc0ec 100644 --- a/ttnn/cpp/ttnn/operations/eltwise/unary_backward/device/unary_backward_op.hpp +++ b/ttnn/cpp/ttnn/operations/eltwise/unary_backward/device/unary_backward_op.hpp @@ -6,7 +6,7 @@ #include #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "third_party/magic_enum/magic_enum.hpp" namespace ttnn::operations::unary_backward { diff --git a/ttnn/cpp/ttnn/operations/embedding/embedding/device/embeddings_op.hpp b/ttnn/cpp/ttnn/operations/embedding/embedding/device/embeddings_op.hpp index d1e09cf506f..b69d3123a4a 100644 --- a/ttnn/cpp/ttnn/operations/embedding/embedding/device/embeddings_op.hpp +++ b/ttnn/cpp/ttnn/operations/embedding/embedding/device/embeddings_op.hpp @@ -7,7 +7,7 @@ #include #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" using namespace tt::constants; diff --git a/ttnn/cpp/ttnn/operations/examples/example/device/example_device_operation.hpp b/ttnn/cpp/ttnn/operations/examples/example/device/example_device_operation.hpp index f586ffe0e4e..7db85969c50 100644 --- a/ttnn/cpp/ttnn/operations/examples/example/device/example_device_operation.hpp +++ b/ttnn/cpp/ttnn/operations/examples/example/device/example_device_operation.hpp @@ -7,7 +7,7 @@ #include #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/core.hpp" #include "ttnn/device_operation.hpp" #include "ttnn/types.hpp" diff --git a/ttnn/cpp/ttnn/operations/experimental/transformer/device/transformer_device_operation.hpp b/ttnn/cpp/ttnn/operations/experimental/transformer/device/transformer_device_operation.hpp index f14fce2faca..e85005dd2bc 100644 --- a/ttnn/cpp/ttnn/operations/experimental/transformer/device/transformer_device_operation.hpp +++ b/ttnn/cpp/ttnn/operations/experimental/transformer/device/transformer_device_operation.hpp @@ -6,7 +6,7 @@ #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace ttnn::operations::experimental::transformer { diff --git a/ttnn/cpp/ttnn/operations/matmul/device/matmul_op.hpp b/ttnn/cpp/ttnn/operations/matmul/device/matmul_op.hpp index e655a8a419c..6364d7eacda 100644 --- a/ttnn/cpp/ttnn/operations/matmul/device/matmul_op.hpp +++ b/ttnn/cpp/ttnn/operations/matmul/device/matmul_op.hpp @@ -5,12 +5,12 @@ #pragma once #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operations/eltwise/unary/device/unary_op.hpp" #include "ttnn/run_operation.hpp" #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" -#include "ttnn/experimental/tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "ttnn/operations/eltwise/unary/device/unary_op.hpp" #include "ttnn/types.hpp" diff --git a/ttnn/cpp/ttnn/operations/matmul/matmul.hpp b/ttnn/cpp/ttnn/operations/matmul/matmul.hpp index 29d670a9e3b..839497c8ab3 100644 --- a/ttnn/cpp/ttnn/operations/matmul/matmul.hpp +++ b/ttnn/cpp/ttnn/operations/matmul/matmul.hpp @@ -8,7 +8,7 @@ #include "ttnn/operations/eltwise/unary/unary.hpp" #include "ttnn/operations/eltwise/unary/device/unary_op.hpp" -#include "ttnn/experimental/tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "ttnn/experimental/tt_dnn/op_library/bcast/bcast_op.hpp" #include "tt_metal/common/core_coord.h" diff --git a/ttnn/cpp/ttnn/operations/normalization/groupnorm/device/groupnorm_op.hpp b/ttnn/cpp/ttnn/operations/normalization/groupnorm/device/groupnorm_op.hpp index 6a658be6036..e0431858e4a 100644 --- a/ttnn/cpp/ttnn/operations/normalization/groupnorm/device/groupnorm_op.hpp +++ b/ttnn/cpp/ttnn/operations/normalization/groupnorm/device/groupnorm_op.hpp @@ -6,7 +6,7 @@ #include -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" using namespace tt::constants; diff --git a/ttnn/cpp/ttnn/operations/normalization/layernorm/device/layernorm_op.hpp b/ttnn/cpp/ttnn/operations/normalization/layernorm/device/layernorm_op.hpp index 24b6fff1641..790e6d47a52 100644 --- a/ttnn/cpp/ttnn/operations/normalization/layernorm/device/layernorm_op.hpp +++ b/ttnn/cpp/ttnn/operations/normalization/layernorm/device/layernorm_op.hpp @@ -8,7 +8,7 @@ #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" #include "ttnn/run_operation.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operations/core.hpp" using namespace tt::constants; diff --git a/ttnn/cpp/ttnn/operations/normalization/softmax/device/softmax_op.cpp b/ttnn/cpp/ttnn/operations/normalization/softmax/device/softmax_op.cpp index d974668fd5a..8ee252e6494 100644 --- a/ttnn/cpp/ttnn/operations/normalization/softmax/device/softmax_op.cpp +++ b/ttnn/cpp/ttnn/operations/normalization/softmax/device/softmax_op.cpp @@ -5,7 +5,7 @@ #include "softmax_op.hpp" #include "tt_metal/common/assert.hpp" #include "common/base_types.hpp" -#include "tensor/types.hpp" +#include "ttnn/tensor/types.hpp" #include "ttnn/experimental/tt_dnn/op_library/math.hpp" #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" #include "ttnn/run_operation.hpp" diff --git a/ttnn/cpp/ttnn/operations/normalization/softmax/device/softmax_op.hpp b/ttnn/cpp/ttnn/operations/normalization/softmax/device/softmax_op.hpp index 2332cad995d..76cbe35d401 100644 --- a/ttnn/cpp/ttnn/operations/normalization/softmax/device/softmax_op.hpp +++ b/ttnn/cpp/ttnn/operations/normalization/softmax/device/softmax_op.hpp @@ -7,8 +7,8 @@ #include #include "common/base_types.hpp" #include "common/core_coord.h" -#include "tensor/types.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" +#include "ttnn/tensor/types.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operation.hpp" #include "ttnn/run_operation.hpp" #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" diff --git a/ttnn/cpp/ttnn/operations/pool/avgpool/avg_pool.hpp b/ttnn/cpp/ttnn/operations/pool/avgpool/avg_pool.hpp index 32ab72bff80..bf094440820 100644 --- a/ttnn/cpp/ttnn/operations/pool/avgpool/avg_pool.hpp +++ b/ttnn/cpp/ttnn/operations/pool/avgpool/avg_pool.hpp @@ -5,7 +5,7 @@ #pragma once #include "tt_metal/host_api.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operation.hpp" diff --git a/ttnn/cpp/ttnn/operations/pool/maxpool/device/max_pool_multi_core.cpp b/ttnn/cpp/ttnn/operations/pool/maxpool/device/max_pool_multi_core.cpp index 702ea6a4a1d..ff86775b570 100644 --- a/ttnn/cpp/ttnn/operations/pool/maxpool/device/max_pool_multi_core.cpp +++ b/ttnn/cpp/ttnn/operations/pool/maxpool/device/max_pool_multi_core.cpp @@ -6,8 +6,8 @@ #include #include "detail/util.hpp" -#include "tensor/host_buffer/functions.hpp" -#include "tensor/tensor_utils.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "ttnn/operations/pool/maxpool/max_pool.hpp" #include "tt_dnn/op_library/reduce/reduce_op.hpp" // for reduce_op_utils #include "tt_dnn/op_library/sharding_utilities.hpp" diff --git a/ttnn/cpp/ttnn/operations/pool/maxpool/device/max_pool_program_factory.cpp b/ttnn/cpp/ttnn/operations/pool/maxpool/device/max_pool_program_factory.cpp index 2fe6a5cde86..d3a87d4d64a 100644 --- a/ttnn/cpp/ttnn/operations/pool/maxpool/device/max_pool_program_factory.cpp +++ b/ttnn/cpp/ttnn/operations/pool/maxpool/device/max_pool_program_factory.cpp @@ -8,8 +8,8 @@ #include #include "detail/util.hpp" -#include "tensor/host_buffer/functions.hpp" -#include "tensor/tensor_utils.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "ttnn/experimental/tt_dnn/op_library/reduce/reduce_op.hpp" // for reduce_op_utils #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" #include "tt_metal/host_api.hpp" diff --git a/ttnn/cpp/ttnn/operations/pool/maxpool/device/max_pool_single_core.cpp b/ttnn/cpp/ttnn/operations/pool/maxpool/device/max_pool_single_core.cpp index d8fce28c364..01dac3269a8 100644 --- a/ttnn/cpp/ttnn/operations/pool/maxpool/device/max_pool_single_core.cpp +++ b/ttnn/cpp/ttnn/operations/pool/maxpool/device/max_pool_single_core.cpp @@ -6,8 +6,8 @@ #include #include "detail/util.hpp" -#include "tensor/host_buffer/functions.hpp" -#include "tensor/tensor_utils.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "ttnn/operations/pool/maxpool/max_pool.hpp" #include "tt_dnn/op_library/reduce/reduce_op.hpp" // for reduce_op_utils #include "tt_dnn/op_library/work_split.hpp" diff --git a/ttnn/cpp/ttnn/operations/pool/maxpool/max_pool.hpp b/ttnn/cpp/ttnn/operations/pool/maxpool/max_pool.hpp index 457c0419011..0b10809dca9 100644 --- a/ttnn/cpp/ttnn/operations/pool/maxpool/max_pool.hpp +++ b/ttnn/cpp/ttnn/operations/pool/maxpool/max_pool.hpp @@ -6,7 +6,7 @@ #include "ttnn/core.hpp" #include "ttnn/types.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/operations/conv2d/conv2d.hpp" #include "ttnn/run_operation.hpp" #include "ttnn/experimental/tt_dnn/op_library/sliding_window_op_infra/sliding_window.hpp" diff --git a/ttnn/cpp/ttnn/operations/reduction/argmax/device/argmax_op.hpp b/ttnn/cpp/ttnn/operations/reduction/argmax/device/argmax_op.hpp index 142756c8dfc..74cbf4904ce 100644 --- a/ttnn/cpp/ttnn/operations/reduction/argmax/device/argmax_op.hpp +++ b/ttnn/cpp/ttnn/operations/reduction/argmax/device/argmax_op.hpp @@ -6,7 +6,7 @@ #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace ttnn::operations::reduction { diff --git a/ttnn/cpp/ttnn/operations/reduction/topk/device/topk_op.hpp b/ttnn/cpp/ttnn/operations/reduction/topk/device/topk_op.hpp index 7faf211b128..4ecd2dfc352 100644 --- a/ttnn/cpp/ttnn/operations/reduction/topk/device/topk_op.hpp +++ b/ttnn/cpp/ttnn/operations/reduction/topk/device/topk_op.hpp @@ -6,7 +6,7 @@ #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace ttnn::operations::reduction { diff --git a/ttnn/cpp/ttnn/operations/transformer/transformer.hpp b/ttnn/cpp/ttnn/operations/transformer/transformer.hpp index 0054fd83824..8d4b495c43b 100644 --- a/ttnn/cpp/ttnn/operations/transformer/transformer.hpp +++ b/ttnn/cpp/ttnn/operations/transformer/transformer.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/experimental/tt_dnn/op_library/compute_kernel_config.hpp" #include "ttnn/experimental/tt_dnn/op_library/nlp_tms/nlp_tms.hpp" #include "ttnn/experimental/tt_dnn/op_library/rotary_embedding/rotary_embedding_op.hpp" diff --git a/ttnn/cpp/ttnn/operations/upsample/upsample_op.cpp b/ttnn/cpp/ttnn/operations/upsample/upsample_op.cpp index ced6a618222..07c07ebd73d 100644 --- a/ttnn/cpp/ttnn/operations/upsample/upsample_op.cpp +++ b/ttnn/cpp/ttnn/operations/upsample/upsample_op.cpp @@ -8,8 +8,8 @@ #include #include "detail/util.hpp" -#include "tensor/host_buffer/functions.hpp" -#include "tensor/tensor_utils.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/tensor_utils.hpp" #include "ttnn/cpp/ttnn/operations/pool/maxpool/max_pool.hpp" #include "ttnn/experimental/tt_dnn/op_library/reduce/reduce_op.hpp" // for reduce_op_utils #include "ttnn/experimental/tt_dnn/op_library/work_split.hpp" diff --git a/ttnn/cpp/ttnn/operations/upsample/upsample_op.hpp b/ttnn/cpp/ttnn/operations/upsample/upsample_op.hpp index 2cd75ee8da7..b2c6b838a26 100644 --- a/ttnn/cpp/ttnn/operations/upsample/upsample_op.hpp +++ b/ttnn/cpp/ttnn/operations/upsample/upsample_op.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include "ttnn/run_operation.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/run_operation.cpp b/ttnn/cpp/ttnn/run_operation.cpp index c41b305af6a..56a6478ed2a 100644 --- a/ttnn/cpp/ttnn/run_operation.cpp +++ b/ttnn/cpp/ttnn/run_operation.cpp @@ -4,8 +4,8 @@ #include "ttnn/run_operation.hpp" -#include -#include +#include +#include #include "ttnn/experimental/tt_dnn/op_library/auto_format.hpp" #include "ttnn/operation.hpp" diff --git a/ttnn/cpp/ttnn/run_operation.hpp b/ttnn/cpp/ttnn/run_operation.hpp index b213d6dd8fa..10236803971 100644 --- a/ttnn/cpp/ttnn/run_operation.hpp +++ b/ttnn/cpp/ttnn/run_operation.hpp @@ -5,7 +5,7 @@ #pragma once #include -#include +#include #include "ttnn/experimental/tt_dnn/op_library/auto_format.hpp" #include "ttnn/operation.hpp" diff --git a/ttnn/cpp/ttnn/run_operation_inl.hpp b/ttnn/cpp/ttnn/run_operation_inl.hpp index 12f8eeb0024..b7737ff2b06 100644 --- a/ttnn/cpp/ttnn/run_operation_inl.hpp +++ b/ttnn/cpp/ttnn/run_operation_inl.hpp @@ -4,8 +4,8 @@ #pragma once -#include -#include +#include +#include #include "ttnn/operation.hpp" #include "tt_dnn/op_library/auto_format.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tensor/CMakeLists.txt b/ttnn/cpp/ttnn/tensor/CMakeLists.txt similarity index 100% rename from ttnn/cpp/ttnn/experimental/tensor/CMakeLists.txt rename to ttnn/cpp/ttnn/tensor/CMakeLists.txt diff --git a/ttnn/cpp/ttnn/experimental/tensor/host_buffer/functions.hpp b/ttnn/cpp/ttnn/tensor/host_buffer/functions.hpp similarity index 98% rename from ttnn/cpp/ttnn/experimental/tensor/host_buffer/functions.hpp rename to ttnn/cpp/ttnn/tensor/host_buffer/functions.hpp index 541253e5d48..72a08f67a4d 100644 --- a/ttnn/cpp/ttnn/experimental/tensor/host_buffer/functions.hpp +++ b/ttnn/cpp/ttnn/tensor/host_buffer/functions.hpp @@ -6,8 +6,8 @@ #include -#include "tensor/host_buffer/types.hpp" -#include "tensor/tensor.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" +#include "ttnn/tensor/tensor.hpp" #include "tt_metal/tt_stl/reflection.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tensor/host_buffer/types.hpp b/ttnn/cpp/ttnn/tensor/host_buffer/types.hpp similarity index 100% rename from ttnn/cpp/ttnn/experimental/tensor/host_buffer/types.hpp rename to ttnn/cpp/ttnn/tensor/host_buffer/types.hpp diff --git a/ttnn/cpp/ttnn/experimental/tensor/serialization.cpp b/ttnn/cpp/ttnn/tensor/serialization.cpp similarity index 98% rename from ttnn/cpp/ttnn/experimental/tensor/serialization.cpp rename to ttnn/cpp/ttnn/tensor/serialization.cpp index 21b15c352ac..5adef2205e0 100644 --- a/ttnn/cpp/ttnn/experimental/tensor/serialization.cpp +++ b/ttnn/cpp/ttnn/tensor/serialization.cpp @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: Apache-2.0 -#include "tensor/serialization.hpp" +#include "ttnn/tensor/serialization.hpp" #include #include @@ -10,9 +10,9 @@ #include #include -#include "tensor/host_buffer/functions.hpp" -#include "tensor/tensor_utils.hpp" -#include "ttnn/experimental/tensor/types.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/tensor_utils.hpp" +#include "ttnn/tensor/types.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tensor/serialization.hpp b/ttnn/cpp/ttnn/tensor/serialization.hpp similarity index 93% rename from ttnn/cpp/ttnn/experimental/tensor/serialization.hpp rename to ttnn/cpp/ttnn/tensor/serialization.hpp index c37f371ff13..59ab09d82fd 100644 --- a/ttnn/cpp/ttnn/experimental/tensor/serialization.hpp +++ b/ttnn/cpp/ttnn/tensor/serialization.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include #include diff --git a/ttnn/cpp/ttnn/experimental/tensor/tensor.cpp b/ttnn/cpp/ttnn/tensor/tensor.cpp similarity index 99% rename from ttnn/cpp/ttnn/experimental/tensor/tensor.cpp rename to ttnn/cpp/ttnn/tensor/tensor.cpp index 797dad80599..7f7d70a0db2 100644 --- a/ttnn/cpp/ttnn/experimental/tensor/tensor.cpp +++ b/ttnn/cpp/ttnn/tensor/tensor.cpp @@ -2,16 +2,16 @@ // // SPDX-License-Identifier: Apache-2.0 -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" #include #include #include "common/bfloat16.hpp" -#include "tensor/tensor_impl.hpp" -#include "tensor/tensor_impl_wrapper.hpp" -#include "tensor/tensor_utils.hpp" -#include "tensor/types.hpp" +#include "ttnn/tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor_impl_wrapper.hpp" +#include "ttnn/tensor/tensor_utils.hpp" +#include "ttnn/tensor/types.hpp" #include "tt_metal/common/constants.hpp" #include "tt_metal/common/math.hpp" #include "tt_metal/third_party/tracy/public/tracy/Tracy.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tensor/tensor.hpp b/ttnn/cpp/ttnn/tensor/tensor.hpp similarity index 99% rename from ttnn/cpp/ttnn/experimental/tensor/tensor.hpp rename to ttnn/cpp/ttnn/tensor/tensor.hpp index a1f26d9c9f8..aa8dd5f7916 100644 --- a/ttnn/cpp/ttnn/experimental/tensor/tensor.hpp +++ b/ttnn/cpp/ttnn/tensor/tensor.hpp @@ -15,7 +15,7 @@ #include "common/bfloat8.hpp" #include "common/test_tiles.hpp" #include "common/tt_backend_api_types.hpp" -#include "ttnn/experimental/tensor/types.hpp" +#include "ttnn/tensor/types.hpp" #include "tt_metal/impl/buffers/buffer.hpp" #include "tt_metal/impl/device/device.hpp" #include "tt_metal/impl/device/multi_device.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tensor/tensor_impl.cpp b/ttnn/cpp/ttnn/tensor/tensor_impl.cpp similarity index 99% rename from ttnn/cpp/ttnn/experimental/tensor/tensor_impl.cpp rename to ttnn/cpp/ttnn/tensor/tensor_impl.cpp index 5c5053432ab..7232b068616 100644 --- a/ttnn/cpp/ttnn/experimental/tensor/tensor_impl.cpp +++ b/ttnn/cpp/ttnn/tensor/tensor_impl.cpp @@ -2,9 +2,9 @@ // // SPDX-License-Identifier: Apache-2.0 -#include "tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor_impl.hpp" -#include "tensor/tensor_impl_wrapper.hpp" +#include "ttnn/tensor/tensor_impl_wrapper.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tensor/tensor_impl.hpp b/ttnn/cpp/ttnn/tensor/tensor_impl.hpp similarity index 98% rename from ttnn/cpp/ttnn/experimental/tensor/tensor_impl.hpp rename to ttnn/cpp/ttnn/tensor/tensor_impl.hpp index 1453c6d4e3d..1bccba764a5 100644 --- a/ttnn/cpp/ttnn/experimental/tensor/tensor_impl.hpp +++ b/ttnn/cpp/ttnn/tensor/tensor_impl.hpp @@ -8,10 +8,10 @@ #include "common/bfloat4.hpp" #include "common/bfloat8.hpp" -#include "tensor/host_buffer/functions.hpp" -#include "tensor/tensor.hpp" -#include "tensor/tensor_utils.hpp" -#include "tensor/types.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/tensor_utils.hpp" +#include "ttnn/tensor/types.hpp" #include "tt_metal/detail/tt_metal.hpp" #include "tt_metal/host_api.hpp" #include "tt_metal/impl/dispatch/command_queue.hpp" diff --git a/ttnn/cpp/ttnn/experimental/tensor/tensor_impl_wrapper.hpp b/ttnn/cpp/ttnn/tensor/tensor_impl_wrapper.hpp similarity index 98% rename from ttnn/cpp/ttnn/experimental/tensor/tensor_impl_wrapper.hpp rename to ttnn/cpp/ttnn/tensor/tensor_impl_wrapper.hpp index c718a639bc6..1d54d8528dc 100644 --- a/ttnn/cpp/ttnn/experimental/tensor/tensor_impl_wrapper.hpp +++ b/ttnn/cpp/ttnn/tensor/tensor_impl_wrapper.hpp @@ -4,7 +4,7 @@ #pragma once -#include "tensor/tensor_impl.hpp" +#include "ttnn/tensor/tensor_impl.hpp" namespace tt::tt_metal::tensor_impl { diff --git a/ttnn/cpp/ttnn/experimental/tensor/tensor_utils.cpp b/ttnn/cpp/ttnn/tensor/tensor_utils.cpp similarity index 99% rename from ttnn/cpp/ttnn/experimental/tensor/tensor_utils.cpp rename to ttnn/cpp/ttnn/tensor/tensor_utils.cpp index d851f11a5f1..c4e2be59123 100644 --- a/ttnn/cpp/ttnn/experimental/tensor/tensor_utils.cpp +++ b/ttnn/cpp/ttnn/tensor/tensor_utils.cpp @@ -2,10 +2,10 @@ // // SPDX-License-Identifier: Apache-2.0 -#include "tensor/tensor_utils.hpp" +#include "ttnn/tensor/tensor_utils.hpp" -#include "tensor/host_buffer/functions.hpp" -#include "tensor/host_buffer/types.hpp" +#include "ttnn/tensor/host_buffer/functions.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tensor/tensor_utils.hpp b/ttnn/cpp/ttnn/tensor/tensor_utils.hpp similarity index 99% rename from ttnn/cpp/ttnn/experimental/tensor/tensor_utils.hpp rename to ttnn/cpp/ttnn/tensor/tensor_utils.hpp index 08e29249180..712e03b8a79 100644 --- a/ttnn/cpp/ttnn/experimental/tensor/tensor_utils.hpp +++ b/ttnn/cpp/ttnn/tensor/tensor_utils.hpp @@ -6,7 +6,7 @@ #include -#include "tensor/tensor.hpp" +#include "ttnn/tensor/tensor.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tensor/types.cpp b/ttnn/cpp/ttnn/tensor/types.cpp similarity index 99% rename from ttnn/cpp/ttnn/experimental/tensor/types.cpp rename to ttnn/cpp/ttnn/tensor/types.cpp index 8a2307f5d7c..5b432e1bf6b 100644 --- a/ttnn/cpp/ttnn/experimental/tensor/types.cpp +++ b/ttnn/cpp/ttnn/tensor/types.cpp @@ -3,7 +3,7 @@ // SPDX-License-Identifier: Apache-2.0 #include -#include "tensor/types.hpp" +#include "ttnn/tensor/types.hpp" namespace tt { diff --git a/ttnn/cpp/ttnn/experimental/tensor/types.hpp b/ttnn/cpp/ttnn/tensor/types.hpp similarity index 99% rename from ttnn/cpp/ttnn/experimental/tensor/types.hpp rename to ttnn/cpp/ttnn/tensor/types.hpp index fbe2507e783..8e3cb39b058 100644 --- a/ttnn/cpp/ttnn/experimental/tensor/types.hpp +++ b/ttnn/cpp/ttnn/tensor/types.hpp @@ -11,7 +11,7 @@ #include #include "common/bfloat16.hpp" -#include "ttnn/experimental/tensor/host_buffer/types.hpp" +#include "ttnn/tensor/host_buffer/types.hpp" #include "tt_metal/impl/buffers/buffer.hpp" #include "tt_metal/impl/device/device.hpp" #include "tt_metal/tt_stl/concepts.hpp" diff --git a/ttnn/cpp/ttnn/types.hpp b/ttnn/cpp/ttnn/types.hpp index 2625b88cd86..2830276c945 100644 --- a/ttnn/cpp/ttnn/types.hpp +++ b/ttnn/cpp/ttnn/types.hpp @@ -7,8 +7,8 @@ #include "tt_metal/detail/tt_metal.hpp" #include "tt_metal/impl/allocator/allocator.hpp" -#include "ttnn/experimental/tensor/tensor.hpp" -#include "ttnn/experimental/tensor/types.hpp" +#include "ttnn/tensor/tensor.hpp" +#include "ttnn/tensor/types.hpp" namespace ttnn { namespace types {