mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-27 04:23:06 +01:00
metal : avoid uint (#11019)
This commit is contained in:
parent
f66f582927
commit
e7da954ecc
@ -2067,8 +2067,8 @@ static void ggml_metal_encode_node(
|
|||||||
GGML_ASSERT(ne12 % ne02 == 0);
|
GGML_ASSERT(ne12 % ne02 == 0);
|
||||||
GGML_ASSERT(ne13 % ne03 == 0);
|
GGML_ASSERT(ne13 % ne03 == 0);
|
||||||
|
|
||||||
const uint r2 = ne12/ne02;
|
const uint32_t r2 = ne12/ne02;
|
||||||
const uint r3 = ne13/ne03;
|
const uint32_t r3 = ne13/ne03;
|
||||||
|
|
||||||
// find the break-even point where the matrix-matrix kernel becomes more efficient compared
|
// find the break-even point where the matrix-matrix kernel becomes more efficient compared
|
||||||
// to the matrix-vector kernel
|
// to the matrix-vector kernel
|
||||||
|
Loading…
Reference in New Issue
Block a user