Spaces:
Running
Running
metal : fix deprecation warning (ggml/690)
Browse files- ggml-metal.m +1 -1
ggml-metal.m
CHANGED
|
@@ -1067,7 +1067,7 @@ bool ggml_metal_graph_compute(
|
|
| 1067 |
GGML_ASSERT(!"unsupported op");
|
| 1068 |
}
|
| 1069 |
|
| 1070 |
-
[encoder pushDebugGroup:[NSString stringWithCString:ggml_op_desc(dst)]];
|
| 1071 |
|
| 1072 |
const int64_t ne00 = src0 ? src0->ne[0] : 0;
|
| 1073 |
const int64_t ne01 = src0 ? src0->ne[1] : 0;
|
|
|
|
| 1067 |
GGML_ASSERT(!"unsupported op");
|
| 1068 |
}
|
| 1069 |
|
| 1070 |
+
[encoder pushDebugGroup:[NSString stringWithCString:ggml_op_desc(dst) encoding:NSUTF8StringEncoding]];
|
| 1071 |
|
| 1072 |
const int64_t ne00 = src0 ? src0->ne[0] : 0;
|
| 1073 |
const int64_t ne01 = src0 ? src0->ne[1] : 0;
|