vulkan: opt mul_mat_vecq for mi50 (llama/22933)

This commit is contained in:
nullname
2026-07-10 13:06:42 +03:00
committed by Georgi Gerganov
parent 1c8ea5fb92
commit c497d75e00
2 changed files with 22 additions and 25 deletions
+1 -1
View File
@@ -4719,7 +4719,7 @@ static void ggml_vk_load_shaders(vk_device& device, vk_pipeline requested) {
}
uint32_t rm_iq = 2 * rm_kq;
const bool use_subgroups = device->subgroup_arithmetic && device->architecture != vk_device_architecture::AMD_GCN;
const bool use_subgroups = device->subgroup_arithmetic;
// Ensure a subgroup size >= 16 is available
const bool use_subgroups16 = use_subgroups && subgroup_min_size_16;