Skip to content

Commit

Permalink
#8223: Active cores on eth only
Browse files Browse the repository at this point in the history
  • Loading branch information
mo-tenstorrent committed May 29, 2024
1 parent 54c689e commit c86cec2
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tt_metal/tools/profiler/tt_metal_profiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,16 @@ void DumpDeviceProfileResults(Device *device, bool lastDump) {
const auto curr_core = device->physical_core_from_logical_core(core, dispatch_core_type);
workerCores.push_back(curr_core);
}
for (const CoreCoord& core : tt::Cluster::instance().get_soc_desc(device_id).physical_ethernet_cores){
workerCores.push_back(core);
}
}
for (const CoreCoord& core : tt::Cluster::instance().get_soc_desc(device_id).physical_ethernet_cores){
workerCores.push_back(core);
else
{
for (const CoreCoord& core : device->get_active_ethernet_cores(true)){
auto physicalCore = device->physical_core_from_logical_core(core, CoreType::ETH);
workerCores.push_back(physicalCore);
}
}
DumpDeviceProfileResults(device, workerCores, lastDump);
#endif
Expand Down

0 comments on commit c86cec2

Please sign in to comment.