Skip to content

Commit

Permalink
#0: temp[
Browse files Browse the repository at this point in the history
  • Loading branch information
aliuTT committed Jun 10, 2024
1 parent 9cf4024 commit cbb7689
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions tt_metal/detail/tt_metal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,6 @@ namespace tt::tt_metal{
* | device | The device holding the program being profiled. | Device * | | True |
* */
void InitDeviceProfiler(Device *device);
// API to clear all device profilers
void ClearDeviceProfiler();

/**
* Read device side profiler data and dump results into device side CSV log
Expand Down
3 changes: 1 addition & 2 deletions tt_metal/impl/device/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1283,8 +1283,7 @@ bool Device::close() {
not_done_dispatch_cores.insert(phys_core);
log_debug(tt::LogMetal, "MMIO Device Prefetch core: Logical: {} - Physical: {}", prefetch_location.str(), phys_core.str());
}
} else {
// Assume that R chip is always open
} else if (tt::DevicePool::instance().is_device_active(device_id)) {
//non mmio devices serviced by this mmio capable device.
//skip remote dispatch cores only if respective remote device is active.
if (dispatch_core_manager::get(curr_num_hw_cqs).is_dispatcher_core_allocated(device_id, curr_channel, cq_id)) {
Expand Down

0 comments on commit cbb7689

Please sign in to comment.