]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
fix vulkan ggml_acc only works in 3d but not 4d (llama/19426)
authorymcki <redacted>
Fri, 13 Feb 2026 12:31:37 +0000 (20:31 +0800)
committerGeorgi Gerganov <redacted>
Sat, 14 Feb 2026 22:20:18 +0000 (00:20 +0200)
commit32f763fc0b0bafe6c8f9448c62a14ef2c878641c
tree7f8a65a1e98b5b0f99edc8f47c0eb9cd3aeb17da
parent686bf7dcd72ce60a344fe110a7ea8da3c8231624
fix vulkan ggml_acc only works in 3d but not 4d (llama/19426)

* fix vulkan ggml_acc only works in 3d but not 4d

* removed clamp in test_acc_block

* use the correct stride and its test case

* cuda : fix "supports op" condition

* change src0 to src1 in ggml_vk_acc. Update acc.comp with jeffbolznv\'s suggestion except to keep the boundary check

* version without boundary check

* revert back to boundary check version

---------

Co-authored-by: Georgi Gerganov <redacted>
src/ggml-cuda/ggml-cuda.cu
src/ggml-vulkan/ggml-vulkan.cpp
src/ggml-vulkan/vulkan-shaders/acc.comp
tests/test-backend-ops.cpp