ggml : update cblas_sgemm columns var to be more reasonable (#838)

This commit is contained in:
Vladimir 2023-04-13 15:24:30 +02:00 committed by GitHub
parent 107980d970
commit 8c3ffc2f04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

6
ggml.c
View file

@ -6435,7 +6435,7 @@ static void ggml_compute_forward_mul_mat_f32(
cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasTrans, cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasTrans,
ne11, ne01, ne10, ne11, ne01, ne10,
1.0f, y, ne10, 1.0f, y, ne10,
x, ne10, x, ne00,
0.0f, d, ne01); 0.0f, d, ne01);
} }
} }
@ -6607,7 +6607,7 @@ static void ggml_compute_forward_mul_mat_f16_f32(
cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasTrans, cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasTrans,
ne11, ne01, ne10, ne11, ne01, ne10,
1.0f, y, ne10, 1.0f, y, ne10,
x, ne10, x, ne00,
0.0f, d, ne01); 0.0f, d, ne01);
} }
} }
@ -6820,7 +6820,7 @@ static void ggml_compute_forward_mul_mat_q_f32(
cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasTrans, cblas_sgemm(CblasRowMajor, CblasNoTrans, CblasTrans,
ne11, ne01, ne10, ne11, ne01, ne10,
1.0f, y, ne10, 1.0f, y, ne10,
x, ne10, x, ne00,
0.0f, d, ne01); 0.0f, d, ne01);
} }
} }