Skip to content

Commit bc34616

Browse files
committed
metal : minor
1 parent 1a88565 commit bc34616

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ggml-metal.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ static void ggml_metal_log(enum ggml_log_level level, const char * format, ...){
451451
}
452452

453453
/*
454-
GGML_METAL_LOG_INFO("%s: loaded %-32s %16p | th_max = %4d | th_width = %4d\n", __func__, "kernel_"#name, (void *) kernel->pipeline, \
454+
GGML_METAL_LOG_INFO("%s: loaded %-40s %16p | th_max = %4d | th_width = %4d\n", __func__, "kernel_"#name, (void *) kernel->pipeline, \
455455
(int) kernel->pipeline.maxTotalThreadsPerThreadgroup, \
456456
(int) kernel->pipeline.threadExecutionWidth); \
457457
*/
@@ -461,7 +461,7 @@ static void ggml_metal_log(enum ggml_log_level level, const char * format, ...){
461461
id<MTLFunction> metal_function = [metal_library newFunctionWithName:@"kernel_"#name]; \
462462
kernel->pipeline = [ctx->device newComputePipelineStateWithFunction:metal_function error:&error]; \
463463
[metal_function release]; \
464-
GGML_METAL_LOG_INFO("%s: loaded %-32s %16p | th_max = %4d | th_width = %4d\n", __func__, "kernel_"#name, (void *) kernel->pipeline, \
464+
GGML_METAL_LOG_INFO("%s: loaded %-40s %16p | th_max = %4d | th_width = %4d\n", __func__, "kernel_"#name, (void *) kernel->pipeline, \
465465
(int) kernel->pipeline.maxTotalThreadsPerThreadgroup, \
466466
(int) kernel->pipeline.threadExecutionWidth); \
467467
if (error) { \
@@ -470,7 +470,7 @@ static void ggml_metal_log(enum ggml_log_level level, const char * format, ...){
470470
return NULL; \
471471
} \
472472
} else { \
473-
GGML_METAL_LOG_WARN("%s: skipping %-32s (not supported)\n", __func__, "kernel_"#name); \
473+
GGML_METAL_LOG_WARN("%s: skipping %-40s (not supported)\n", __func__, "kernel_"#name); \
474474
}
475475

476476
// simd_sum and simd_max requires MTLGPUFamilyApple7

0 commit comments

Comments
 (0)