]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
fix vulkan ggml_acc only works in 3d but not 4d (#19426)
authorymcki <redacted>
Fri, 13 Feb 2026 12:31:37 +0000 (20:31 +0800)
committerGitHub <redacted>
Fri, 13 Feb 2026 12:31:37 +0000 (13:31 +0100)
commit0e219914723695e5e0a1d470c6dbe44e304a8270
tree8876aff7342301c506701154f918ea93e9806e44
parentb2ecc0cdb4cf724b78c770cbbacb8029168d26fb
fix vulkan ggml_acc only works in 3d but not 4d (#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>
ggml/src/ggml-cuda/ggml-cuda.cu
ggml/src/ggml-vulkan/ggml-vulkan.cpp
ggml/src/ggml-vulkan/vulkan-shaders/acc.comp
tests/test-backend-ops.cpp