From d2bd5f0bdcaf994a472b227d0d2793dd05ceb8a1 Mon Sep 17 00:00:00 2001 From: sandrohanea <40202887+sandrohanea@users.noreply.github.com> Date: Thu, 23 Nov 2023 19:20:53 +0100 Subject: [PATCH] metal : fix build (#1544) --- ggml-metal.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml-metal.m b/ggml-metal.m index 4fe9cc4..3591b87 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