Skip to content

Commit b65eff8

Browse files
ggerganovNeoZhangJianyu
authored andcommitted
metal : avoid uint (ggml-org#11019)
1 parent e034ed7 commit b65eff8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml/src/ggml-metal/ggml-metal.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2067,8 +2067,8 @@ static void ggml_metal_encode_node(
20672067
GGML_ASSERT(ne12 % ne02 == 0);
20682068
GGML_ASSERT(ne13 % ne03 == 0);
20692069

2070-
const uint r2 = ne12/ne02;
2071-
const uint r3 = ne13/ne03;
2070+
const uint32_t r2 = ne12/ne02;
2071+
const uint32_t r3 = ne13/ne03;
20722072

20732073
// find the break-even point where the matrix-matrix kernel becomes more efficient compared
20742074
// to the matrix-vector kernel

0 commit comments

Comments
 (0)