metal : fix deprecation warning (ggml/690)

pull/1753/head^2
Georgi Gerganov 2024-01-11 09:34:59 +02:00
parent 73072a7c73
commit 9e0cc28792
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735
1 changed files with 1 additions and 1 deletions

View File

@ -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;