From 79cd1f0653a09e233d24e8f48112213c524b3c2d Mon Sep 17 00:00:00 2001 From: Qianfeng Zhang Date: Sat, 10 May 2025 16:02:52 +0000 Subject: [PATCH] Fix sequence dim length for o_dram descriptor in the kernel --- example/ck_tile/18_hstu_attention/hstu_attention_fwd_kernel.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/ck_tile/18_hstu_attention/hstu_attention_fwd_kernel.hpp b/example/ck_tile/18_hstu_attention/hstu_attention_fwd_kernel.hpp index 5043c5ae9b..f290bac92d 100644 --- a/example/ck_tile/18_hstu_attention/hstu_attention_fwd_kernel.hpp +++ b/example/ck_tile/18_hstu_attention/hstu_attention_fwd_kernel.hpp @@ -749,7 +749,7 @@ struct HstuAttentionFwdKernel auto o_dram = [&]() { const auto o_dram_naive = make_naive_tensor_view( o_ptr, - make_tuple(mask.max_uih_len, kargs.hdim_v), + make_tuple(kargs.seqlen, kargs.hdim_v), make_tuple(kargs.seq_stride_o, 1), number{}, number<1>{});