From 4e01307e049deadc5986a60bf073476def26ad34 Mon Sep 17 00:00:00 2001 From: "PoYen, Chen" Date: Mon, 15 Jul 2024 01:26:46 +0000 Subject: [PATCH] Fix compilation error in debug mode --- example/ck_tile/01_fmha/fmha_fwd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/ck_tile/01_fmha/fmha_fwd.cpp b/example/ck_tile/01_fmha/fmha_fwd.cpp index 35c883dc72..087e568179 100644 --- a/example/ck_tile/01_fmha/fmha_fwd.cpp +++ b/example/ck_tile/01_fmha/fmha_fwd.cpp @@ -604,7 +604,7 @@ bool run(const ck_tile::ArgParser& arg_parser) if(bias.type == bias_enum::alibi) { auto slopes = ck_tile::get_alibi_slopes(nhead); - assert(slopes.size() == nhead); + assert(slopes.size() == static_cast(nhead)); if(bias.rank_info == 0) { // alibi in 1*h