]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
metal : add count_equal op (llama/18314)
authorgatbontonpc <redacted>
Wed, 31 Dec 2025 08:39:48 +0000 (00:39 -0800)
committerGeorgi Gerganov <redacted>
Wed, 31 Dec 2025 10:39:43 +0000 (12:39 +0200)
commitdfac7595589e8eeefee2f9dc5c07d44c884092fb
tree7e8afba7cae41ffa798cc11336d1174c124cf317
parentcf9e3e9baef902a0cace68c2a3e393d3656aa5ce
metal : add count_equal op (llama/18314)

* add count equal for metal

* remove trailing whitespace

* updated doc ops table

* changed shmem to i32

* added multi tg and templating

* removed BLAS support from Metal docs

* Apply suggestions from code review

Co-authored-by: Georgi Gerganov <redacted>
* add memset to set dst to 0

* metal : cleanup

---------

Co-authored-by: Georgi Gerganov <redacted>
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