mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-25 05:48:47 +01:00
metal : fix deprecation warning (ggml/690)
This commit is contained in:
parent
f85a973aa1
commit
3267c2abc7
@ -1067,7 +1067,7 @@ bool ggml_metal_graph_compute(
|
|||||||
GGML_ASSERT(!"unsupported op");
|
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 ne00 = src0 ? src0->ne[0] : 0;
|
||||||
const int64_t ne01 = src0 ? src0->ne[1] : 0;
|
const int64_t ne01 = src0 ? src0->ne[1] : 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user