Skip to content

Commit

Permalink
Uplift third_party/tt-metal to 2f59d5e02ef0da955b99cf0f49da1759c772a6…
Browse files Browse the repository at this point in the history
…7a 2024-12-11 (#1568)

* Uplift third_party/tt-metal to 2f59d5e02ef0da955b99cf0f49da1759c772a67a 2024-12-11
* update calling removed function dram_core_from_logical_core

---------

Co-authored-by: kmitrovicTT <[email protected]>
Co-authored-by: Brata Choudhury <[email protected]>
  • Loading branch information
3 people authored Dec 12, 2024
1 parent 8bc14e2 commit 3bca94d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions runtime/lib/common/system_desc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,10 @@ createChipPhysicalCores(const ::tt::tt_metal::Device *device,
}
}

CoreCoord dram_grid_size = device->dram_grid_size();
for (uint32_t y = 0; y < dram_grid_size.y; y++) {
for (uint32_t x = 0; x < dram_grid_size.x; x++) {
CoreCoord physical = device->dram_core_from_logical_core(CoreCoord(x, y));
dram_cores.emplace_back(::tt::target::Dim2d(physical.y, physical.x));
}
for (int dram_channel = 0; dram_channel < device->num_dram_channels();
++dram_channel) {
CoreCoord logical = device->logical_core_from_dram_channel(dram_channel);
dram_cores.emplace_back(::tt::target::Dim2d(logical.y, logical.x));
}

for (const CoreCoord &logical : device->get_active_ethernet_cores(true)) {
Expand Down
2 changes: 1 addition & 1 deletion third_party/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
include(ExternalProject)

set(TT_METAL_VERSION "c2d7b099da7b194475ca7e6cf18c2eff496f866c")
set(TT_METAL_VERSION "2f59d5e02ef0da955b99cf0f49da1759c772a67a")

if ("$ENV{ARCH_NAME}" STREQUAL "grayskull")
set(ARCH_NAME "grayskull")
Expand Down

0 comments on commit 3bca94d

Please sign in to comment.