Vulkan: route large matmuls to medium tile on Adreno (#24877)
* [Vulkan] Fixes llama-cli breaking over longer promts sizes The llama-cli was breaking for longer promts sizes for q4_0 quantized networks. Causing due to insufficient shared memory. * Removed the un-used Adreno device * Updated matmul for small pipeline.
This commit is contained in:
@@ -6501,6 +6501,14 @@ static vk_device ggml_vk_get_device(size_t idx) {
|
|||||||
device->mul_mat_id_m[i] = true;
|
device->mul_mat_id_m[i] = true;
|
||||||
device->mul_mat_id_s[i] = false;
|
device->mul_mat_id_s[i] = false;
|
||||||
break;
|
break;
|
||||||
|
case VK_VENDOR_ID_QUALCOMM:
|
||||||
|
device->mul_mat_l[i] = false;
|
||||||
|
device->mul_mat_m[i] = true;
|
||||||
|
device->mul_mat_s[i] = true;
|
||||||
|
device->mul_mat_id_l[i] = false;
|
||||||
|
device->mul_mat_id_m[i] = true;
|
||||||
|
device->mul_mat_id_s[i] = true;
|
||||||
|
break;
|
||||||
#endif
|
#endif
|
||||||
default:
|
default:
|
||||||
device->mul_mat_l[i] = true;
|
device->mul_mat_l[i] = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user