]> git.djapps.eu Git - pkg/ggml/sources/ggml/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>
Sun, 15 Mar 2026 19:50:13 +0000 (21:50 +0200)
commit64a58ad11a24da69e5e8140eea3f4ab408a2ce08
tree3d5dcbda46ce9dca6eb67d745b54ad567645de32
parent38a8d9b60772108abb1c562625694f8590e8b84c
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
src/ggml-vulkan/vulkan-shaders/mul_mm.comp