hexagon: reject MUL_MAT_ID when src1 precision is F32 (#29348)

This commit is contained in:
Jhen-Jie Hong 2026-09-24 13:02:17 +08:00 • committed by GitHub
parent 013b31c03c
commit 9710a32175
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5476,6 +5476,10 @@ static bool ggml_hexagon_supported_mul_mat_id(const struct ggml_hexagon_session
return false;
}
if (ggml_get_op_params_i32(op, 3) == GGML_PREC_F32) {
return false;
}
switch (src0->type) {
case GGML_TYPE_Q4_0:
case GGML_TYPE_Q4_1: