whisper.cpp/ggml/src
Pascal 91ca310157 metal: add col2im_1d op (f32/f16/bf16) (llama/25176)
* metal: add col2im_1d op (f32/f16/bf16)

Gather kernel mirroring the CPU/CUDA path: each output (t_out, oc)
reads its ceil(K/s0) source columns with an F32 accumulator, a single
write and no atomics. One thread per output element, 256 per
threadgroup.

* metal: check dst contiguity and type match in supports_op for COL2IM_1D

Align the GGML_OP_COL2IM_1D predicate with the CPU, CUDA, and Vulkan
backends: the kernel writes dst with linear indexing and assumes the
same type as src0, so supports_op must also require a contiguous dst
and op->type == op->src[0]->type.

* Update ggml/src/ggml-metal/ggml-metal.metal

Co-authored-by: YiChen Lv <63285796+forforever73@users.noreply.github.com>

---------

Co-authored-by: YiChen Lv <63285796+forforever73@users.noreply.github.com>
2026-07-10 13:06:42 +03:00
..
ggml-blas vulkan: add get/set tensor 2d functions (llama/22514) 2026-05-01 13:07:35 +03:00
ggml-cann vulkan: add get/set tensor 2d functions (llama/22514) 2026-05-01 13:07:35 +03:00
ggml-cpu ggml-cpu: use UE4M3 LUT in ARM NVFP4 dot product (llama/25331) 2026-07-10 13:06:42 +03:00
ggml-cuda CUDA: remove -sm row, refactor cuBLAS (llama/24216) 2026-07-10 13:06:42 +03:00
ggml-hexagon hexagon: flash attention rework (optimizations, accuracy improvements, etc) (llama/25085) 2026-07-10 13:06:42 +03:00
ggml-hip ggml-hip: enable -ffast-math for HIP builds (llama/23862) 2026-07-10 13:06:42 +03:00
ggml-metal metal: add col2im_1d op (f32/f16/bf16) (llama/25176) 2026-07-10 13:06:42 +03:00
ggml-musa ggml-cuda: native bf16 flash attention for vec kernel (llama/20525) 2026-03-29 15:04:36 +03:00
ggml-opencl opencl: allow loading precompiled binary kernels from library (llama/23042) 2026-07-10 13:06:42 +03:00
ggml-openvino Added a cudaMemcpy2DAsync fast path to ggml_cuda_cpy (llama/25057) 2026-07-10 13:06:42 +03:00
ggml-rpc rpc : keep last_graph_uid in the device context (llama/23273) 2026-05-25 12:26:07 +03:00
ggml-sycl sycl : fix failed ut cases of norm (llama/25044) 2026-07-10 13:06:42 +03:00
ggml-virtgpu ggml-virtgpu : include missing mutex header (llama/22810) 2026-05-14 21:26:48 +03:00
ggml-vulkan vulkan: fix 32-bit integer overflow in CEIL_DIV (llama/25245) 2026-07-10 13:06:42 +03:00
ggml-webgpu ggml-webgpu: add support for NVFP4 (llama/25143) 2026-07-10 13:06:42 +03:00
ggml-zdnn vulkan: add get/set tensor 2d functions (llama/22514) 2026-05-01 13:07:35 +03:00
ggml-zendnn ggml-zendnn : fixed naming of matmul function (llama/20964) 2026-05-29 09:47:30 +03:00
CMakeLists.txt ggml-cpu: Conditionally enable power11 backend based on compiler support (llama/24687) 2026-06-19 12:53:43 +03:00
ggml-alloc.c ggml-alloc: fix out-of-bounds read in ggml_dyn_tallocr_remove_block (ggml/1492) 2026-05-25 12:26:07 +03:00
ggml-backend-dl.cpp hexagon: enable offloading to Hexagon on Windows on Snapdragon (llama/19150) 2026-01-30 15:56:40 +02:00
ggml-backend-dl.h hexagon: enable offloading to Hexagon on Windows on Snapdragon (llama/19150) 2026-01-30 15:56:40 +02:00
ggml-backend-impl.h ggml: backend-agnostic tensor parallelism (experimental) (llama/19378) 2026-04-30 11:29:05 +03:00
ggml-backend-meta.cpp abort if we see a multi buffer (llama/25276) 2026-07-10 13:06:42 +03:00
ggml-backend-reg.cpp ggml : skip already registered backends and devices (llama/22296) 2026-04-30 11:29:21 +03:00
ggml-backend.cpp Revert "sched : reintroduce less synchronizations during split compute (#20793)" (llama/25138) 2026-07-10 13:06:42 +03:00
ggml-common.h ggml-cpu: add AVX2 optimization for nvfp4 dot product and use UE4M3 LUT (llama/23961) 2026-07-10 13:06:42 +03:00
ggml-impl.h ggml: add graph_reused (llama/21764) 2026-04-30 11:29:11 +03:00
ggml-opt.cpp fix: free ctx_copy in ggml_opt_free to plug per-training-session leak (llama/21592) 2026-04-30 11:29:03 +03:00
ggml-quants.c ggml : Parallelize quant LUT init (llama/23595) 2026-05-25 12:26:07 +03:00
ggml-quants.h ggml: add Q1_0 1-bit quantization support (CPU) (llama/21273) 2026-04-30 11:29:01 +03:00
ggml-threading.cpp ggml : build backends as libraries (llama/10256) 2024-11-20 21:00:08 +02:00
ggml-threading.h remove CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS (llama/10797) 2024-12-18 12:52:16 +02:00
ggml.c mtmd, arg: fix utf8 handling on windows (llama/24779) 2026-06-26 16:03:57 +03:00
ggml.cpp ggml : Print backtrace on uncaught C++ exceptions (ggml/1232) 2025-05-29 09:56:26 +03:00
gguf.cpp ggml: `gguf_init_from_callback` and `gguf_init_from_buffer` (llama/22341) 2026-05-25 12:44:04 +03:00