metal : restore im2col perf (#16219)

This commit is contained in:
Georgi Gerganov
2025-09-25 11:29:08 +03:00
committed by GitHub
parent c498fc82fe
commit 02a6a82ae7
3 changed files with 95 additions and 83 deletions

View File

@@ -1237,7 +1237,7 @@ ggml_metal_pipeline_t ggml_metal_library_get_pipeline_im2col(ggml_metal_library_
char base[256];
char name[256];
snprintf(base, 256, "kernel_im2col_ext_%s", ggml_type_name(op->type));
snprintf(base, 256, "kernel_im2col_%s", ggml_type_name(op->type));
snprintf(name, 256, "%s", base);
ggml_metal_pipeline_t res = ggml_metal_library_get_pipeline(lib, name);