Skip to content

Commit

Permalink
metal : fix deprecation warning (#690)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Jan 11, 2024
1 parent f841cd0 commit 979cc23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ggml-metal.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 979cc23

Please sign in to comment.