]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
metal : fix unused warning
authorGeorgi Gerganov <redacted>
Wed, 8 May 2024 06:14:50 +0000 (09:14 +0300)
committerGeorgi Gerganov <redacted>
Mon, 13 May 2024 08:02:26 +0000 (11:02 +0300)
ggml-metal.metal

index 4d710b04fa270ed3284055554d30cbbd4d03e89b..b67d1882f008b4aa14c3c528f52e17de2db97f5e 100644 (file)
@@ -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)