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

index 3d4276ae02b9e5e5b4e7d794fe1ab83e9d458ea7..46c7d503930a4adea2f0d1eea3cc8305835342cc 100644 (file)
@@ -2175,7 +2175,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)