Delete unnecessary #ifdef / #endif.

This commit is contained in:
HydraQYH
2025-11-17 13:21:17 +08:00
parent e1b2ec57e3
commit b6ad6db219
2 changed files with 6 additions and 4 deletions

View File

@@ -608,9 +608,10 @@ public:
// Get pipeline stage increments from tensor shapes
auto k_tile_count = size<3>(gA_mkl);
#ifdef CUTLASS_ENABLE_GDC_FOR_SM90
// Ensure that the kernel does not touch
// unflushed global memory prior to this instruction
cutlass::arch::wait_on_dependent_grids();
#endif
if (warp_group_role == WarpGroupRole::Producer) {
cutlass::arch::warpgroup_reg_dealloc<LoadRegisterRequirement>();

View File

@@ -646,9 +646,10 @@ public:
// Get pipeline stage increments from tensor shapes
auto k_tile_count = size<3>(gA_mkl);
#ifdef CUTLASS_ENABLE_GDC_FOR_SM90
// Ensure that the kernel does not touch
// unflushed global memory prior to this instruction
cutlass::arch::wait_on_dependent_grids();
#endif
if (warp_group_role == WarpGroupRole::Producer) {
cutlass::arch::warpgroup_reg_dealloc<LoadRegisterRequirement>();