From 7d03fb41a506acbe9fab258a70afe95cc9b5155e Mon Sep 17 00:00:00 2001 From: yurekami Date: Fri, 26 Dec 2025 00:16:16 +0900 Subject: [PATCH] fix: correct typo "lenght" to "length" in comment MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- .../collective/sm100_fmha_fwd_epilogue_tma_warpspecialized.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csrc/sm100/prefill/dense/collective/sm100_fmha_fwd_epilogue_tma_warpspecialized.hpp b/csrc/sm100/prefill/dense/collective/sm100_fmha_fwd_epilogue_tma_warpspecialized.hpp index 6f9bba35..dd54a682 100644 --- a/csrc/sm100/prefill/dense/collective/sm100_fmha_fwd_epilogue_tma_warpspecialized.hpp +++ b/csrc/sm100/prefill/dense/collective/sm100_fmha_fwd_epilogue_tma_warpspecialized.hpp @@ -119,7 +119,7 @@ struct Sm100FmhaFwdEpilogueTmaWarpspecialized { if (cumulative_length_q != nullptr) { int max_length_q = get<0>(problem_shape).max_length; get<0>(problem_shape_O).max_length = max(1, max_length_q); - // for variable sequence lenght, the batch is in units of row_stride + // for variable sequence length, the batch is in units of row_stride get<2,1>(dO) = get<0>(dO); get<2,1>(problem_shape_O) = max(1, max_length_q * (1 + get<2,1>(problem_shape_O))); // offset ptr by the amount we add back in later