Skip to content

Commit

Permalink
#0: Map .at() -> .insert() for non-existent key in dispatch kernel de…
Browse files Browse the repository at this point in the history
…fines map (#13896)

 - Resolves out of bounds map issue seen with watcher
  • Loading branch information
tt-asaigal authored Oct 17, 2024
1 parent 782f46f commit b961d1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tt_metal/impl/device/device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ void Device::configure_kernel_variant(
{"FD_CORE_TYPE", std::to_string(programmable_core_type_index)},
};
if (force_watcher_no_inline) {
defines.at("WATCHER_NOINLINE") = std::to_string(force_watcher_no_inline);
defines.insert({"WATCHER_NOINLINE", std::to_string(force_watcher_no_inline)});
}
if (llrt::OptionsG.watcher_dispatch_disabled()) {
defines["FORCE_WATCHER_OFF"] = "1";
Expand Down

0 comments on commit b961d1b

Please sign in to comment.