Skip to content
Merged
Show file tree
Hide file tree
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 @@ -335,8 +335,6 @@ __global__ void GraphSafeGroupHadamardAmaxTmaKernel(
is_master_thread);
}

ptx::fence_proxy_async_shared_cta();

// Wait for the data to have arrived
ptx::mbarrier_wait_parity(&mbar[stage], 0);

Expand Down Expand Up @@ -368,6 +366,9 @@ __global__ void GraphSafeGroupHadamardAmaxTmaKernel(
// memory.
__syncthreads();
}

// Ensure generic shared-memory accesses are visible before the next TMA write.
ptx::fence_proxy_async_shared_cta();
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,6 @@ __global__ void GroupHadamardAmaxTmaKernel(const __grid_constant__ CUtensorMap t
is_master_thread);
}

ptx::fence_proxy_async_shared_cta();

// Wait for the data to have arrived
ptx::mbarrier_wait_parity(&mbar[stage], 0);

Expand Down Expand Up @@ -356,6 +354,9 @@ __global__ void GroupHadamardAmaxTmaKernel(const __grid_constant__ CUtensorMap t
// memory.
__syncthreads();
}

// Ensure generic shared-memory accesses are visible before the next TMA write.
ptx::fence_proxy_async_shared_cta();
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,6 @@ __global__ void HadamardAmaxTmaKernel(const __grid_constant__ CUtensorMap tensor
is_master_thread);
}

ptx::fence_proxy_async_shared_cta();

// Wait for the data to have arrived
ptx::mbarrier_wait_parity(&mbar[stage], 0);

Expand Down Expand Up @@ -299,6 +297,9 @@ __global__ void HadamardAmaxTmaKernel(const __grid_constant__ CUtensorMap tensor
// memory.
__syncthreads();
}

// Ensure generic shared-memory accesses are visible before the next TMA write.
ptx::fence_proxy_async_shared_cta();
}
}

Expand Down
Loading