summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2024-01-11 09:34:59 +0200
committerGeorgi Gerganov <ggerganov@gmail.com>2024-01-11 09:39:05 +0200
commit3267c2abc72e34608224408ace3c048831050f97 (patch)
tree7bdf577ec512ec6186104cb8d3aedf22c5042346
parentf85a973aa139ae6f37e8b8e1966f1d278b5e0372 (diff)
metal : fix deprecation warning (ggml/690)
-rw-r--r--ggml-metal.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/ggml-metal.m b/ggml-metal.m
index 16190682..82d68cd1 100644
--- a/ggml-metal.m
+++ b/ggml-metal.m
@@ -1067,7 +1067,7 @@ bool ggml_metal_graph_compute(
GGML_ASSERT(!"unsupported op");
}
- [encoder pushDebugGroup:[NSString stringWithCString:ggml_op_desc(dst)]];
+ [encoder pushDebugGroup:[NSString stringWithCString:ggml_op_desc(dst) encoding:NSUTF8StringEncoding]];
const int64_t ne00 = src0 ? src0->ne[0] : 0;
const int64_t ne01 = src0 ? src0->ne[1] : 0;