We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7c1974 commit bf7dec6Copy full SHA for bf7dec6
ggml/src/ggml-vulkan/ggml-vulkan.cpp
@@ -4765,7 +4765,7 @@ static vk_pipeline ggml_vk_get_dequantize_mul_mat_vec(ggml_backend_vk_context *
4765
4766
// heuristic to choose workgroup size
4767
uint32_t dmmv_wg = DMMV_WG_SIZE_SUBGROUP;
4768
- if (ctx->device->vendor_id == VK_VENDOR_ID_NVIDIA || ctx->device->vendor_id == VK_VENDOR_ID_INTEL) {
+ if ((ctx->device->vendor_id == VK_VENDOR_ID_NVIDIA && ctx->device->architecture != vk_device_architecture::NVIDIA_PRE_TURING) || ctx->device->vendor_id == VK_VENDOR_ID_INTEL) {
4769
// Prefer larger workgroups when M is small, to spread the work out more
4770
// and keep more SMs busy.
4771
// q6_k seems to prefer small workgroup size even for "medium" values of M.
0 commit comments