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 76d8975 commit 2268ce0Copy full SHA for 2268ce0
ggml/src/ggml-cpu.c
@@ -7468,8 +7468,8 @@ static void ggml_compute_forward_mul_mat(
7468
for (int64_t i13 = 0; i13 < ne13; i13++)
7469
for (int64_t i12 = 0; i12 < ne12; i12++)
7470
if (!llamafile_sgemm(ne01, ne11, ne00/ggml_blck_size(type),
7471
- (const char *)data + i12/r2*nb02 + i13/r3*nb03,
7472
- nb01/ggml_type_size(src0->type),
+ (const char *)src0->data + i12/r2*nb02 + i13/r3*nb03,
+ nb01/ggml_type_size(type),
7473
(const char *)src1->data + i12*nb12 + i13*nb13,
7474
nb11/ggml_type_size(src1->type),
7475
(char *)dst->data + i12*nb2 + i13*nb3,
0 commit comments