Skip to content

Commit 3267c2a

Browse files
committed
metal : fix deprecation warning (ggml/690)
1 parent f85a973 commit 3267c2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml-metal.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,7 @@ bool ggml_metal_graph_compute(
10671067
GGML_ASSERT(!"unsupported op");
10681068
}
10691069

1070-
[encoder pushDebugGroup:[NSString stringWithCString:ggml_op_desc(dst)]];
1070+
[encoder pushDebugGroup:[NSString stringWithCString:ggml_op_desc(dst) encoding:NSUTF8StringEncoding]];
10711071

10721072
const int64_t ne00 = src0 ? src0->ne[0] : 0;
10731073
const int64_t ne01 = src0 ? src0->ne[1] : 0;

0 commit comments

Comments
 (0)