]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
vulkan: Fix data races in coopmat1 mul_mat(_id) (llama/20084)
authorJeff Bolz <redacted>
Sun, 8 Mar 2026 11:33:48 +0000 (06:33 -0500)
committerGeorgi Gerganov <redacted>
Mon, 16 Mar 2026 11:10:15 +0000 (13:10 +0200)
commit4b0653a792a1bc5039a91bcf87910252b77fa0ba
treed1eca59083d8e0cf56dde1e93d98ee7de51a745a
parent8a9b0ba1dff0d73c132a89a047320a5718e71f85
vulkan: Fix data races in coopmat1 mul_mat(_id) (llama/20084)

* vulkan: Fix data races in coopmat1 mul_mat(_id)

Add barriers between coopmat store and regular loads. We sort of got away with
this because it was the same subgroup accessing the values, but it's still a
race and may not work.

* switch to subgroup control barriers
ggml/src/ggml-vulkan/vulkan-shaders/mul_mm.comp