From: Georgi Gerganov Date: Fri, 3 Jan 2025 09:26:14 +0000 (+0200) Subject: metal : avoid uint (llama/11019) X-Git-Tag: upstream/1.7.4~7 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=de5cd60d1c55a1bd20c6c89692535a1b0fa11e6d;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp metal : avoid uint (llama/11019) --- diff --git a/ggml/src/ggml-metal/ggml-metal.m b/ggml/src/ggml-metal/ggml-metal.m index 28f590f9..a85502ee 100644 --- a/ggml/src/ggml-metal/ggml-metal.m +++ b/ggml/src/ggml-metal/ggml-metal.m @@ -2067,8 +2067,8 @@ static void ggml_metal_encode_node( GGML_ASSERT(ne12 % ne02 == 0); GGML_ASSERT(ne13 % ne03 == 0); - const uint r2 = ne12/ne02; - const uint r3 = ne13/ne03; + const uint32_t r2 = ne12/ne02; + const uint32_t r3 = ne13/ne03; // find the break-even point where the matrix-matrix kernel becomes more efficient compared // to the matrix-vector kernel