Skip to content

Commit

Permalink
#0: Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
tt-dma committed Dec 20, 2024
1 parent c173b81 commit 24caef3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tt_metal/impl/device/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -584,6 +584,10 @@ void Device::reset_cores() {
for (auto &id_and_cores : dispatch_cores) {
for (auto it = id_and_cores.second.begin(); it != id_and_cores.second.end(); it++) {
const auto &virtual_core = *it;
// For new FD init, we've already initialized dispatch cores on other devices, so don't reset here.
if (llrt::RunTimeOptions::get_instance().get_use_new_fd_init() && id_and_cores.first != this->id())
continue;

// Only need to manually reset ethernet dispatch cores, tensix cores are all reset below.
if (tt::Cluster::instance().is_ethernet_core(virtual_core, id_and_cores.first)) {
// Ethernet cores won't be reset, so just signal the dispatch cores to early exit.
Expand Down

0 comments on commit 24caef3

Please sign in to comment.