metal : remove tmp log
This commit is contained in:
parent
1e590ac3c9
commit
4f4c0249bf
1 changed files with 0 additions and 3 deletions
|
@ -463,9 +463,6 @@ static struct ggml_metal_context * ggml_metal_init(int n_cb) {
|
||||||
id<MTLFunction> metal_function = [metal_library newFunctionWithName:@"kernel_"#name]; \
|
id<MTLFunction> metal_function = [metal_library newFunctionWithName:@"kernel_"#name]; \
|
||||||
kernel->pipeline = [ctx->device newComputePipelineStateWithFunction:metal_function error:&error]; \
|
kernel->pipeline = [ctx->device newComputePipelineStateWithFunction:metal_function error:&error]; \
|
||||||
[metal_function release]; \
|
[metal_function release]; \
|
||||||
GGML_METAL_LOG_INFO("%s: loaded %-40s %16p | th_max = %4d | th_width = %4d\n", __func__, "kernel_"#name, (void *) kernel->pipeline, \
|
|
||||||
(int) kernel->pipeline.maxTotalThreadsPerThreadgroup, \
|
|
||||||
(int) kernel->pipeline.threadExecutionWidth); \
|
|
||||||
if (error) { \
|
if (error) { \
|
||||||
GGML_METAL_LOG_ERROR("%s: error: load pipeline error: %s\n", __func__, [[error description] UTF8String]); \
|
GGML_METAL_LOG_ERROR("%s: error: load pipeline error: %s\n", __func__, [[error description] UTF8String]); \
|
||||||
[metal_library release]; \
|
[metal_library release]; \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue