Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b5a9df0

Browse filesBrowse files
ggerganovmglambda
authored andcommitted
metal : avoid uint (ggml-org#11019)
1 parent 9a6cdd7 commit b5a9df0
Copy full SHA for b5a9df0

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

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

Copy file name to clipboardExpand all lines: ggml/src/ggml-metal/ggml-metal.m
+2-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.