File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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;
You can’t perform that action at this time.
0 commit comments