Skip to content

Commit

Permalink
#0: Fix setting of brisc_noc_mode when NCRISC is using DM_DYNAMIC_NOC
Browse files Browse the repository at this point in the history
  • Loading branch information
tt-aho committed Feb 27, 2025
1 parent 468785e commit c9bab78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tt_metal/impl/program/program.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ KernelGroup::KernelGroup(
// If both brisc and ncrisc set the noc, then this is safe due to prior correctness validation
this->launch_msg.kernel_config.brisc_noc_id = 1 - std::get<DataMovementConfig>(kernel->config()).noc;
// if noc mode is already set to DM_DYNAMIC_NOC then we can't change back to DM_DEDICATED_NOC
if (this->launch_msg.kernel_config.brisc_noc_mode == NOC_MODE::DM_DYNAMIC_NOC) {
if (std::get<DataMovementConfig>(kernel->config()).noc_mode == NOC_MODE::DM_DYNAMIC_NOC) {
this->launch_msg.kernel_config.brisc_noc_mode = NOC_MODE::DM_DYNAMIC_NOC;
}
}
Expand Down

0 comments on commit c9bab78

Please sign in to comment.