Spaces:
Running
Running
sandrohanea
commited on
metal : fix build (#1544)
Browse files- ggml-metal.m +1 -1
ggml-metal.m
CHANGED
|
@@ -1072,7 +1072,7 @@ void ggml_metal_graph_compute(
|
|
| 1072 |
GGML_ASSERT(ne00 == ne10);
|
| 1073 |
GGML_ASSERT(ne03 == ne13);
|
| 1074 |
|
| 1075 |
-
const
|
| 1076 |
|
| 1077 |
// find the break-even point where the matrix-matrix kernel becomes more efficient compared
|
| 1078 |
// to the matrix-vector kernel
|
|
|
|
| 1072 |
GGML_ASSERT(ne00 == ne10);
|
| 1073 |
GGML_ASSERT(ne03 == ne13);
|
| 1074 |
|
| 1075 |
+
const unsigned int gqa = ne12/ne02;
|
| 1076 |
|
| 1077 |
// find the break-even point where the matrix-matrix kernel becomes more efficient compared
|
| 1078 |
// to the matrix-vector kernel
|