]> git.djapps.eu Git - pkg/ggml/sources/ggml/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 11:49:29 +0000 (13:49 +0200)
commit32201fa57ce4e1135326171a677fbfaba3f16db2
treeeaab8f748a6e550943f1099cd20550915b69af73
parent5fbb524144d6a8115d35dd808da22c23a1dd02f5
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>
src/ggml-cpu/ops.cpp
src/ggml-metal/ggml-metal-device.cpp
src/ggml-metal/ggml-metal-device.h
src/ggml-metal/ggml-metal-device.m
src/ggml-metal/ggml-metal-impl.h
src/ggml-metal/ggml-metal-ops.cpp
src/ggml-metal/ggml-metal-ops.h
src/ggml-metal/ggml-metal.metal
src/ggml.c
tests/test-backend-ops.cpp