fix: remove duplicate desc declaration

This commit is contained in:
2026-05-28 05:10:43 +00:00
parent 7ac2499266
commit 5e389b5ed9

View File

@@ -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;
}
// =====================================================================