ggerganov commited on
Commit
b788516
·
1 Parent(s): d13ac16

metal : avoid uint (llama/11019)

Browse files
Files changed (1) hide show
  1. ggml/src/ggml-metal/ggml-metal.m +2 -2
ggml/src/ggml-metal/ggml-metal.m CHANGED
@@ -2067,8 +2067,8 @@ static void ggml_metal_encode_node(
2067
  GGML_ASSERT(ne12 % ne02 == 0);
2068
  GGML_ASSERT(ne13 % ne03 == 0);
2069
 
2070
- const uint r2 = ne12/ne02;
2071
- const uint r3 = ne13/ne03;
2072
 
2073
  // find the break-even point where the matrix-matrix kernel becomes more efficient compared
2074
  // to the matrix-vector kernel
 
2067
  GGML_ASSERT(ne12 % ne02 == 0);
2068
  GGML_ASSERT(ne13 % ne03 == 0);
2069
 
2070
+ const uint32_t r2 = ne12/ne02;
2071
+ const uint32_t r3 = ne13/ne03;
2072
 
2073
  // find the break-even point where the matrix-matrix kernel becomes more efficient compared
2074
  // to the matrix-vector kernel