From: Georgi Gerganov Date: Wed, 8 May 2024 06:14:50 +0000 (+0300) Subject: metal : fix unused warning X-Git-Tag: upstream/0.0.1642~733 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=5de9d72027ed0be632d802851bb9b8e3f9fbfe92;p=pkg%2Fggml%2Fsources%2Fggml metal : fix unused warning --- diff --git a/src/ggml-metal.metal b/src/ggml-metal.metal index 4d710b04..b67d1882 100644 --- a/src/ggml-metal.metal +++ b/src/ggml-metal.metal @@ -2182,7 +2182,7 @@ kernel void kernel_flash_attn_ext_f16( const short D4 = D/4; const short D8 = D/8; - const short Q8 = Q/8; + //const short Q8 = Q/8; const short NW = N_SIMDWIDTH; const short SH = (C + Q); // shared memory per simdgroup in (half)