Skip to content

Commit

Permalink
#0: Fix race in watcher kernel id init
Browse files Browse the repository at this point in the history
Kernel id 0 was not created soon enough
  • Loading branch information
pgkeller committed May 14, 2024
1 parent 1d6c801 commit ed27236
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tt_metal/impl/debug/watcher_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -980,6 +980,9 @@ void watcher_attach(Device *device) {
if (!watcher::enabled && tt::llrt::OptionsG.get_watcher_enabled()) {

watcher::create_log_file();
if (!watcher::kernel_file) {
watcher::create_kernel_file();
}
watcher::watcher_killed_due_to_error = false;
watcher::watcher_exception_message = "";

Expand Down

0 comments on commit ed27236

Please sign in to comment.