From db5cd5ed2de4b9fa10da06b60be49ee8dd292983 Mon Sep 17 00:00:00 2001 From: Qianfeng Zhang Date: Tue, 7 Jul 2026 11:13:02 +0000 Subject: [PATCH] flag mask class interface IsTokenPairInsideMask() as const --- example/ck_tile/18_hstu_attention/hstu_block_masking.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/example/ck_tile/18_hstu_attention/hstu_block_masking.hpp b/example/ck_tile/18_hstu_attention/hstu_block_masking.hpp index f622370017..b60ff806b4 100644 --- a/example/ck_tile/18_hstu_attention/hstu_block_masking.hpp +++ b/example/ck_tile/18_hstu_attention/hstu_block_masking.hpp @@ -186,7 +186,7 @@ struct HstuCrossAttentionBlockMaskWithLocal }; } - CK_TILE_HOST_DEVICE bool IsTokenPairInsideMask(int row, int col) + CK_TILE_HOST_DEVICE bool IsTokenPairInsideMask(int row, int col) const { int row_id; int col_id; @@ -425,7 +425,7 @@ struct HstuSelfAttentionBlockMaskWithLocal }; } - CK_TILE_HOST_DEVICE bool IsTokenPairInsideMask(int row, int col) + CK_TILE_HOST_DEVICE bool IsTokenPairInsideMask(int row, int col) const { int row_id; int col_id; @@ -577,7 +577,7 @@ struct HstuCrossAttentionBlockMaskNoLocal }; } - CK_TILE_HOST_DEVICE bool IsTokenPairInsideMask(int row, int col) + CK_TILE_HOST_DEVICE bool IsTokenPairInsideMask(int row, int col) const { int row_id; int col_id; @@ -713,7 +713,7 @@ struct HstuSelfAttentionBlockMaskNoLocal }; } - CK_TILE_HOST_DEVICE bool IsTokenPairInsideMask(int row, int col) + CK_TILE_HOST_DEVICE bool IsTokenPairInsideMask(int row, int col) const { int row_id; int col_id;