]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
metal : add CONV_2D_DW (depthwise convolution) support (llama/21565)
authorSou-ly <redacted>
Thu, 9 Jul 2026 09:29:15 +0000 (18:29 +0900)
committerGeorgi Gerganov <redacted>
Fri, 10 Jul 2026 10:06:42 +0000 (13:06 +0300)
commit9cd788e703c6754400b67a9d0f94cbf5a7215348
tree2b9e619654a5250fc99b2f32fa8c5af40a5e81e1
parentcc7a521508f6aee3b7987ffd33ec6b5d9c7a06f1
metal : add CONV_2D_DW (depthwise convolution) support (llama/21565)

* metal : add CONV_2D_DW (depthwise 2D convolution) support

* test : add perf cases for CONV_2D_DW

* metal : use 3D dispatch for CONV_2D_DW kernel

* metal : add channel-tiled CONV_2D_DW kernel for non-contiguous layouts

* metal : simplify CONV_2D_DW dispatch and trim comments

* metal : merge duplicate CONV_2D_DW pipeline getters

* tests : add F16 CONV2D_DW tests

* cpu : fix F16 kernel support for CONV_2D_DW

* tests : remove commented-out CONV_2D_DW test block

---------

Co-authored-by: Georgi Gerganov <redacted>
ggml/src/ggml-cpu/ops.cpp
ggml/src/ggml-metal/ggml-metal-device.cpp
ggml/src/ggml-metal/ggml-metal-device.h
ggml/src/ggml-metal/ggml-metal-device.m
ggml/src/ggml-metal/ggml-metal-impl.h
ggml/src/ggml-metal/ggml-metal-ops.cpp
ggml/src/ggml-metal/ggml-metal-ops.h
ggml/src/ggml-metal/ggml-metal.metal