From 5e389b5ed93fa0eecc573d95e5179170b81a73e0 Mon Sep 17 00:00:00 2001 From: biondizzle Date: Thu, 28 May 2026 05:10:43 +0000 Subject: [PATCH] fix: remove duplicate desc declaration --- dsv4/kernels/attention/fmha_sm100.cuh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dsv4/kernels/attention/fmha_sm100.cuh b/dsv4/kernels/attention/fmha_sm100.cuh index 89e84061..8a01b707 100644 --- a/dsv4/kernels/attention/fmha_sm100.cuh +++ b/dsv4/kernels/attention/fmha_sm100.cuh @@ -138,7 +138,6 @@ __device__ __forceinline__ uint64_t make_umma_smem_desc_bf16( // // For now, use a simplified descriptor with raw byte addressing. // The descriptor format is documented in the PTX ISA for tcgen05.mma. - uint64_t desc = 0; // The UMMA descriptor packs: base_addr_16B | leading_dim_16B | stride_16B | flags // This is specific to the SM100 MMA descriptor format. // See: cutlass/include/cute/arch/mma_sm100_desc.hpp SmemDescriptor @@ -156,7 +155,7 @@ __device__ __forceinline__ uint64_t make_umma_smem_desc_bf16( // For now, return a placeholder descriptor. // TODO: Properly construct using CUTLASS SmemDescriptor bitfield. - return desc; + return 0ULL; } // =====================================================================