]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
metal : fix build (#1544)
authorsandrohanea <redacted>
Thu, 23 Nov 2023 18:20:53 +0000 (19:20 +0100)
committerGitHub <redacted>
Thu, 23 Nov 2023 18:20:53 +0000 (20:20 +0200)
ggml-metal.m

index 4fe9cc487d29f6eb2cac0c4fb0a172d6b6d28136..3591b87cae8e63921135ccfd9ce5b4e5127fa076 100644 (file)
@@ -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