From 496654bf2c7b375d61bb3a80a16211d2bb07be31 Mon Sep 17 00:00:00 2001 From: Javier <25750030+SystemPanic@users.noreply.github.com> Date: Thu, 28 Aug 2025 21:13:00 -0500 Subject: [PATCH] Fix sm100 gemm wrong static constexpr that breaks compilation on Windows (#2167) * Fix a sm100 gemm wrong defined static constexpr that breaks compilation on Windows * Fix a sm100 gemm wrong defined static constexpr that breaks compilation on Windows * More Windows fixes Signed-off-by: Javier <25750030+SystemPanic@users.noreply.github.com> * Revert "More Windows fixes" This reverts commit 2e8cfc13827fbc7e3f2475bbc83694c2e1514107. --------- Signed-off-by: Javier <25750030+SystemPanic@users.noreply.github.com> --- .../gemm/kernel/sm100_gemm_array_tma_warpspecialized.hpp | 3 +-- include/cutlass/gemm/kernel/sm100_gemm_tma_warpspecialized.hpp | 3 +-- .../kernel/sm100_gemm_tma_warpspecialized_mma_transform.hpp | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/include/cutlass/gemm/kernel/sm100_gemm_array_tma_warpspecialized.hpp b/include/cutlass/gemm/kernel/sm100_gemm_array_tma_warpspecialized.hpp index 738f460f..b86919b1 100644 --- a/include/cutlass/gemm/kernel/sm100_gemm_array_tma_warpspecialized.hpp +++ b/include/cutlass/gemm/kernel/sm100_gemm_array_tma_warpspecialized.hpp @@ -468,8 +468,7 @@ public: return grid_shape; } - static constexpr - dim3 + static dim3 get_block_shape() { return dim3(MaxThreadsPerBlock, 1, 1); } diff --git a/include/cutlass/gemm/kernel/sm100_gemm_tma_warpspecialized.hpp b/include/cutlass/gemm/kernel/sm100_gemm_tma_warpspecialized.hpp index 85f87af2..fb62f1b8 100644 --- a/include/cutlass/gemm/kernel/sm100_gemm_tma_warpspecialized.hpp +++ b/include/cutlass/gemm/kernel/sm100_gemm_tma_warpspecialized.hpp @@ -396,8 +396,7 @@ public: params.hw_info); } - static constexpr - dim3 + static dim3 get_block_shape() { return dim3(MaxThreadsPerBlock, 1, 1); } diff --git a/include/cutlass/gemm/kernel/sm100_gemm_tma_warpspecialized_mma_transform.hpp b/include/cutlass/gemm/kernel/sm100_gemm_tma_warpspecialized_mma_transform.hpp index 180bda31..11d381d2 100644 --- a/include/cutlass/gemm/kernel/sm100_gemm_tma_warpspecialized_mma_transform.hpp +++ b/include/cutlass/gemm/kernel/sm100_gemm_tma_warpspecialized_mma_transform.hpp @@ -390,8 +390,7 @@ public: params.hw_info); } - static constexpr - dim3 + static dim3 get_block_shape() { return dim3(MaxThreadsPerBlock, 1, 1); }