]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
vulkan: fix diag_mask_inf (llama/11323)
authorJeff Bolz <redacted>
Thu, 23 Jan 2025 07:01:17 +0000 (01:01 -0600)
committerGeorgi Gerganov <redacted>
Mon, 3 Feb 2025 20:00:57 +0000 (22:00 +0200)
commit373670613961d0426d05626ff5ff8fff619a648d
treea392a25446ab19563e5b6562a67714f825a0153e
parent58640aa456f5a3eb4a74a2a5dce9dfb5044dc2ac
vulkan: fix diag_mask_inf (llama/11323)

With robustbufferaccess disabled, this shader was showing OOB stores. There
is a bounds check in the code, but the workgrouop dimensions were reversed vs
CUDA and it was running the wrong number of threads. So fix the workgroup
dimensions and disable robustness for this pipeline.
ggml/src/ggml-vulkan/ggml-vulkan.cpp
ggml/src/ggml-vulkan/vulkan-shaders/diag_mask_inf.comp