Skip to content

Commit

Permalink
#14119: Rename core_coord.h to core_coord.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
tt-aho committed Oct 22, 2024
1 parent 1478321 commit 80d61da
Show file tree
Hide file tree
Showing 67 changed files with 66 additions and 66 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include <cstdint>
#include <unordered_map>
#include "core_coord.h"
#include "core_coord.hpp"
#include "tt_metal/common/logger.hpp"
#include "tt_metal/host_api.hpp"
#include "tt_metal/impl/device/device.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <random>
#include <string>

#include "core_coord.h"
#include "core_coord.hpp"
#include "logger.hpp"
#include "tt_metal/host_api.hpp"
#include "tt_metal/detail/tt_metal.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include "impl/device/device.hpp"
#include "impl/kernels/kernel_types.hpp"
#include "tt_backend_api_types.hpp"
#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "tt_metal/common/math.hpp"
#include "tt_metal/detail/tt_metal.hpp"
#include "tt_metal/host_api.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "impl/kernels/data_types.hpp"
#include "impl/kernels/kernel_types.hpp"
#include "tt_backend_api_types.hpp"
#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "tt_metal/common/math.hpp"
#include "tt_metal/detail/tt_metal.hpp"
#include "tt_metal/host_api.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include "impl/device/device.hpp"
#include "impl/kernels/kernel_types.hpp"
#include "tt_backend_api_types.hpp"
#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "tt_metal/common/math.hpp"
#include "tt_metal/detail/tt_metal.hpp"
#include "tt_metal/host_api.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <limits>
#include <random>

#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "tt_metal/common/math.hpp"
#include "tt_metal/detail/tt_metal.hpp"
#include "tt_metal/host_api.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <functional>
#include <random>

#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "tt_metal/common/math.hpp"
#include "tt_metal/detail/tt_metal.hpp"
#include "tt_metal/host_api.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

#include "device/tt_arch_types.h"
#include "tt_backend_api_types.hpp"
#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "tt_metal/common/math.hpp"
#include "tt_metal/detail/tt_metal.hpp"
#include "tt_metal/host_api.hpp"
Expand Down
2 changes: 1 addition & 1 deletion tests/tt_metal/tt_metal/test_create_kernel_from_string.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include <gtest/gtest.h>

#include "core_coord.h"
#include "core_coord.hpp"
#include "detail/tt_metal.hpp"
#include "host_api.hpp"
#include "impl/device/device.hpp"
Expand Down
2 changes: 1 addition & 1 deletion tests/tt_metal/tt_metal/test_kernel_path_env_var.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#include <filesystem>

#include "assert.hpp"
#include "core_coord.h"
#include "core_coord.hpp"
#include "detail/tt_metal.hpp"
#include "host_api.hpp"
#include "impl/kernels/data_types.hpp"
Expand Down
2 changes: 1 addition & 1 deletion tests/tt_metal/tt_metal/test_multi_core_kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "tt_metal/host_api.hpp"
#include "tt_metal/detail/tt_metal.hpp"
#include "common/bfloat16.hpp"
#include "common/core_coord.h"
#include "common/core_coord.hpp"
// #include "tt_gdb/tt_gdb.hpp"


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SPDX-License-Identifier: Apache-2.0

#include "gtest/gtest.h"
#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "core_coord_fixture.hpp"

namespace basic_tests::CoreRangeSet{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


#include "gtest/gtest.h"
#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "core_coord_fixture.hpp"
#include <set>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


#include "gtest/gtest.h"
#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "core_coord_fixture.hpp"

namespace basic_tests::CoreRange{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


#include "gtest/gtest.h"
#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "core_coord_fixture.hpp"

namespace basic_tests::CoreRange{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


#include "gtest/gtest.h"
#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "core_coord_fixture.hpp"

namespace basic_tests::CoreRange{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


#include "gtest/gtest.h"
#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "core_coord_fixture.hpp"

namespace basic_tests::CoreRange {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@


#include "gtest/gtest.h"
#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "core_coord_fixture.hpp"

namespace basic_tests::CoreRange{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include "impl/buffers/circular_buffer.hpp"
#include "impl/kernels/data_types.hpp"
#include "impl/kernels/kernel_types.hpp"
#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "tt_metal/common/math.hpp"
#include "tt_metal/detail/tt_metal.hpp"
#include "tt_metal/host_api.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include "device/tt_arch_types.h"
// #include "tt_backend_api_types.hpp"
#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "tt_metal/common/math.hpp"
#include "tt_metal/detail/tt_metal.hpp"
#include "tt_metal/host_api.hpp"
Expand Down
2 changes: 1 addition & 1 deletion tt_metal/common/core_coord.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0

#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"

#include <algorithm>
#include <limits>
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tt_metal/common/core_descriptor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#pragma once

#include "core_coord.h"
#include "core_coord.hpp"
#include "tt_metal/llrt/tt_cluster.hpp"
#include "llrt/hal.hpp"

Expand Down
2 changes: 1 addition & 1 deletion tt_metal/common/metal_soc_descriptor.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#pragma once

#include "common/tt_backend_api_types.hpp"
#include "core_coord.h"
#include "core_coord.hpp"
#include "third_party/umd/device/tt_soc_descriptor.h"

//! tt_SocDescriptor contains information regarding the SOC configuration targetted.
Expand Down
2 changes: 1 addition & 1 deletion tt_metal/common/work_split.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#pragma once

#include "tt_metal/common/assert.hpp"
#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "tt_metal/common/math.hpp"
#include "tt_metal/host_api.hpp"

Expand Down
2 changes: 1 addition & 1 deletion tt_metal/detail/tt_metal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "tt_metal/third_party/umd/device/tt_cluster_descriptor_types.h"
#include "tt_metal/third_party/umd/device/tt_soc_descriptor.h"
#include "tt_metal/hostdevcommon/common_values.hpp"
#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "tt_metal/impl/dispatch/dispatch_core_manager.hpp"

namespace tt::tt_metal {
Expand Down
2 changes: 1 addition & 1 deletion tt_metal/graph/graph_tracking.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <span>
#include <string_view>

#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "tt_metal/impl/buffers/buffer.hpp"

namespace tt::tt_metal {
Expand Down
2 changes: 1 addition & 1 deletion tt_metal/impl/allocator/allocator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

#include "allocator_types.hpp"
#include "tt_metal/common/assert.hpp"
#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "tt_metal/impl/allocator/algorithms/allocator_algorithm.hpp"
#include "llrt/hal.hpp"

Expand Down
2 changes: 1 addition & 1 deletion tt_metal/impl/allocator/allocator_types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <vector>
#include <cstdlib>
#include <functional>
#include "common/core_coord.h"
#include "common/core_coord.hpp"
#include "hostdevcommon/common_values.hpp"
#include "hostdevcommon/common_runtime_address_map.h"
#include "dev_mem_map.h"
Expand Down
2 changes: 1 addition & 1 deletion tt_metal/impl/buffers/buffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <optional>

#include "common/bfloat16.hpp"
#include "common/core_coord.h"
#include "common/core_coord.hpp"
#include "common/tt_backend_api_types.hpp"
#include "hostdevcommon/common_values.hpp"
#include "tt_metal/common/base.hpp"
Expand Down
2 changes: 1 addition & 1 deletion tt_metal/impl/buffers/circular_buffer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#pragma once

#include "common/core_coord.h"
#include "common/core_coord.hpp"
#include "common/tt_backend_api_types.hpp"
#include "tt_metal/impl/buffers/circular_buffer_types.hpp"

Expand Down
2 changes: 1 addition & 1 deletion tt_metal/impl/buffers/semaphore.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#pragma once

#include "llrt/hal.hpp"
#include "common/core_coord.h"
#include "common/core_coord.hpp"
#include "hostdevcommon/common_runtime_address_map.h"
#include "tt_metal/third_party/umd/device/tt_soc_descriptor.h"

Expand Down
2 changes: 1 addition & 1 deletion tt_metal/impl/debug/watcher_device_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <vector>
#include <string>

#include "common/core_coord.h"
#include "common/core_coord.hpp"
#include "hw/inc/debug/ring_buffer.h"
#include "hw/inc/dev_msgs.h"
#include "impl/device/device.hpp"
Expand Down
2 changes: 1 addition & 1 deletion tt_metal/impl/dispatch/data_collection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "data_collection.hpp"
#include "llrt/rtoptions.hpp"
#include "tt_metal/impl/kernels/kernel.hpp"
#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"

#include <magic_enum.hpp>

Expand Down
2 changes: 1 addition & 1 deletion tt_metal/impl/dispatch/dispatch_core_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#pragma once

#include "common/core_descriptor.hpp"
#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include <list>

namespace tt::tt_metal {
Expand Down
2 changes: 1 addition & 1 deletion tt_metal/impl/kernels/kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "tt_metal/impl/debug/watcher_server.hpp"
#include "tt_metal/third_party/tracy/public/tracy/Tracy.hpp"
#include "tt_metal/common/utils.hpp"
#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "tt_metal/jit_build/genfiles.hpp"
namespace tt {

Expand Down
2 changes: 1 addition & 1 deletion tt_metal/impl/program/program_device_map.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include <variant>
#include <vector>

#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "tt_metal/common/tt_backend_api_types.hpp"

namespace tt::tt_metal {
Expand Down
2 changes: 1 addition & 1 deletion tt_metal/jit_build/build.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#include "common/tt_backend_api_types.hpp"
#include "common/executor.hpp"
#include "common/utils.hpp"
#include "common/core_coord.h"
#include "common/core_coord.hpp"
#include "jit_build/data_format.hpp"
#include "jit_build/settings.hpp"
#include "hostdevcommon/common_values.hpp"
Expand Down
2 changes: 1 addition & 1 deletion tt_metal/jit_build/genfiles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#include <string>
#include <vector>

#include "common/core_coord.h"
#include "common/core_coord.hpp"
#include "impl/kernels/kernel.hpp"

namespace tt::tt_metal {
Expand Down
2 changes: 1 addition & 1 deletion tt_metal/llrt/rtoptions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include <unordered_set>
#include <vector>

#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "tt_metal/impl/dispatch/dispatch_core_manager.hpp"
#include "tt_metal/third_party/umd/device/tt_soc_descriptor.h" // For CoreType

Expand Down
2 changes: 1 addition & 1 deletion tt_metal/llrt/tt_cluster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#include "tt_metal/impl/debug/sanitize_noc_host.hpp"
#include "tt_metal/llrt/rtoptions.hpp"
#include "tt_metal/llrt/tlb_config.hpp"
#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"

static constexpr uint32_t HOST_MEM_CHANNELS = 4;
static constexpr uint32_t HOST_MEM_CHANNELS_MASK = HOST_MEM_CHANNELS - 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//
// SPDX-License-Identifier: Apache-2.0

#include "common/core_coord.h"
#include "common/core_coord.hpp"
#include "tt_metal/host_api.hpp"
#include "tt_metal/impl/device/device.hpp"
#include "common/bfloat16.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#pragma once

#include <cstdint>
#include "common/core_coord.h"
#include "common/core_coord.hpp"
#include "impl/buffers/buffer.hpp"
#include "ttnn/tensor/tensor.hpp"
#include "ttnn/operations/ccl/shared_with_host/hetergeneous_data_structs.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
///
#include <algorithm>

#include "tt_metal/common/core_coord.h"
#include "tt_metal/common/core_coord.hpp"
#include "eth_l1_address_map.h"
#include "impl/buffers/buffer.hpp"
#include "ttnn/tensor/tensor_impl.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SPDX-License-Identifier: Apache-2.0
///

#include "common/core_coord.h"
#include "common/core_coord.hpp"
#include "impl/buffers/buffer.hpp"
#include "ttnn/operation.hpp"
#include "ttnn/operations/ccl/ccl_host_types.hpp"
Expand Down
Loading

0 comments on commit 80d61da

Please sign in to comment.