Skip to content

Commit ea4d4cc

Browse files
committed
experimenting fix for crash on LNL old driver
1 parent f8f071f commit ea4d4cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml/src/ggml-vulkan/ggml-vulkan.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5097,8 +5097,8 @@ static vk_matmul_pipeline ggml_vk_get_mul_mat_mat_id_pipeline(ggml_backend_vk_co
50975097

50985098
// XXX TODO 'prec' is not actually allowed in mul_mat_id.
50995099
bool prefer_fp16acc = ctx->device->fp16 /*&& prec == GGML_PREC_DEFAULT*/;
5100-
bool support_fp16acc = ctx->device->pipeline_dequant_mul_mat_mat_id[src0_type].f16acc != nullptr;
5101-
bool support_fp32acc = ctx->device->pipeline_dequant_mul_mat_mat_id[src0_type].f32acc != nullptr;
5100+
bool support_fp16acc = ctx->device->coopmat_acc_f16_support;
5101+
bool support_fp32acc = ctx->device->coopmat_acc_f32_support;
51025102

51035103
if (support_fp16acc && (prefer_fp16acc || !support_fp32acc)) {
51045104
return ctx->device->pipeline_dequant_mul_mat_mat_id[src0_type].f16acc;

0 commit comments

Comments
 (0)