Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -668,14 +668,14 @@ class GemmUniversal<
Tensor accumulators = cutlass::detail::make_sm100_accumulator<AccumulatorPipelineStageCount, IsOverlappingAccum>(
tiled_mma, acc_shape, EpilogueTile{});

// Ensure memory ops in this kernel are not done prior to completion of dependent grids.
cutlass::arch::wait_on_dependent_grids();

#if 1
pipeline_init_wait(cluster_size);

if (is_participant.main_ab_load) {
set_warpgroup_reg_dealloc();
// Ensure that the prefetched kernel does not touch
// unflushed global memory prior to this instruction
cutlass::arch::wait_on_dependent_grids();

bool do_load_order_arrive = is_epi_load_needed;
auto load_inputs = collective_mainloop.load_ab_init(
Expand Down Expand Up @@ -752,8 +752,6 @@ class GemmUniversal<
// why this variable is needed.
bool requires_clc_query = true;

cutlass::arch::wait_on_dependent_grids();

do {
if (requires_clc_query) {
// Throttle CLC query to mitigate workload imbalance caused by skews among persistent workers.
Expand Down Expand Up @@ -957,9 +955,6 @@ class GemmUniversal<
}
else if (not IsNoSmemEpilogue and is_participant.epi_load) {
set_warpgroup_reg_dealloc();
// Ensure that the prefetched kernel does not touch
// unflushed global memory prior to this instruction
cutlass::arch::wait_on_dependent_grids();

bool do_load_order_wait = true;
bool do_tail_load = false;
Expand Down