From: sandrohanea Date: Thu, 23 Nov 2023 18:20:53 +0000 (+0100) Subject: metal : fix build (#1544) X-Git-Tag: upstream/1.7.4~1233 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=d2bd5f0bdcaf994a472b227d0d2793dd05ceb8a1;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp metal : fix build (#1544) --- diff --git a/ggml-metal.m b/ggml-metal.m index 4fe9cc48..3591b87c 100644 --- a/ggml-metal.m +++ b/ggml-metal.m @@ -1072,7 +1072,7 @@ void ggml_metal_graph_compute( GGML_ASSERT(ne00 == ne10); GGML_ASSERT(ne03 == ne13); - const uint gqa = ne12/ne02; + const unsigned int gqa = ne12/ne02; // find the break-even point where the matrix-matrix kernel becomes more efficient compared // to the matrix-vector kernel