Skip to content

Commit

Permalink
metal : avoid uint (llama/11019)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Jan 3, 2025
1 parent a38a777 commit f6729d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ggml-metal/ggml-metal.m
Original file line number Diff line number Diff line change
Expand Up @@ -2067,8 +2067,8 @@ static void ggml_metal_encode_node(
GGML_ASSERT(ne12 % ne02 == 0);
GGML_ASSERT(ne13 % ne03 == 0);

const uint r2 = ne12/ne02;
const uint r3 = ne13/ne03;
const uint32_t r2 = ne12/ne02;
const uint32_t r3 = ne13/ne03;

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

0 comments on commit f6729d5

Please sign in to comment.