Skip to content

Commit

Permalink
#18332: Update BN Kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
VirdhatchaniKN committed Feb 27, 2025
1 parent be1793d commit 46f1ed5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ void MAIN {
uint32_t complete_iterations = (num_tiles + tile_start) / tile_freq;
uint32_t remaining_iterations = (num_tiles + tile_start) % tile_freq;

cb_wait_front(cb_eps, 1);
constexpr uint32_t onetile = 1;
cb_wait_front(cb_eps, onetile);

for (uint32_t i = 0; i < complete_iterations; ++i, tile_start = 0) {
batchnorm_bcast_tiles(
Expand Down Expand Up @@ -199,5 +200,7 @@ void MAIN {
weight_has_value,
bias_has_value);
}

cb_pop_front(cb_eps, onetile);
}
} // namespace NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -238,5 +238,7 @@ void MAIN {
weight_has_value,
bias_has_value);
}

cb_pop_front(cb_eps, onetile);
}
} // namespace NAMESPACE

0 comments on commit 46f1ed5

Please sign in to comment.