]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ggml : extend ggml_pool_1d + metal (llama/16429)
authorThore Koritzius <redacted>
Fri, 16 Jan 2026 14:59:56 +0000 (15:59 +0100)
committerGeorgi Gerganov <redacted>
Fri, 30 Jan 2026 13:56:40 +0000 (15:56 +0200)
commit511ca7a1f4fe0e5341190f57c0a181c656d09b97
tree211f2757e8688e8e8b9680b530151969bc682853
parentecb4b80c35934d446d3fb9d7786e8b79d32db97f
ggml : extend ggml_pool_1d + metal (llama/16429)

* chore: resolve conflicts

* feat: ggml metal impl

* fix: ggml_metal_kargs_pool_1d struct

* fix: require contiguous input

* chore: test pool_1d

* chore: limit pool1d test cases to p0=0 and s0=k0 to conform with asserts

* chore: add p0 and s0 to testing

* fix: allow padding for cpu and metal

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

* fix: correct single-threaded loop

* ggml : cleanup

* tests : add ne[1] != 1 tests

* fix: ne[1] handling in np

* cont : fixes

---------

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
ggml/src/ggml.c