Skip to content

Commit

Permalink
#0: Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
tt-dma committed Dec 24, 2024
1 parent 8149d97 commit 36ac08f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tt_metal/impl/dispatch/kernel_config/mux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,8 @@ void MuxKernel::GenerateStaticConfigs() {
static_config_.output_depacketize_info = 0x0;

for (int idx = 0; idx < upstream_kernels_.size(); idx++) {
// Only connected dispatchers need a semaphore. TODO: can initialize anyways, but this matches previous
// implementation
if (dynamic_cast<DispatchKernel*>(upstream_kernels_[idx])) {
static_config_.input_packetize_local_sem[idx] =
tt::tt_metal::CreateSemaphore(*program_, logical_core_, 0, GetCoreType());
}
static_config_.input_packetize_local_sem[idx] =
tt::tt_metal::CreateSemaphore(*program_, logical_core_, 0, GetCoreType());
}
}

Expand Down

0 comments on commit 36ac08f

Please sign in to comment.