]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
metal : add CONV_2D_DW (depthwise convolution) support (#21565)
authorSou-ly <redacted>
Thu, 9 Jul 2026 09:29:15 +0000 (18:29 +0900)
committerGitHub <redacted>
Thu, 9 Jul 2026 09:29:15 +0000 (12:29 +0300)
commit92b187c97ebe627167765c2e7d9f1877ee4e781f
treeb9d8480efd58bd222cc5559751e840bee2da34f4
parentccb0c3422394fbbfc28fd91f8c77111b748cfa09
metal : add CONV_2D_DW (depthwise convolution) support (#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
tests/test-backend-ops.cpp