Skip to content

Commit 2fd0a10

Browse files
committed
Fix build issues in sgemm.cpp post rebase
1 parent 138cd22 commit 2fd0a10

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

ggml/src/sgemm.cpp

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -829,9 +829,8 @@ class tinyBLAS_Q0_B16_AVX {
829829
: A(A), B(B), C(C), k(k), lda(lda), ldb(ldb), ldc(ldc), ith(ith), nth(nth) {
830830
}
831831

832-
void matmul(int64_t m, int64_t n, int task) {
833-
if (task == GGML_TASK_TYPE_COMPUTE)
834-
mnpack(0, m, 0, n);
832+
void matmul(int64_t m, int64_t n) {
833+
mnpack(0, m, 0, n);
835834
}
836835

837836
private:
@@ -1398,7 +1397,7 @@ bool llamafile_sgemm(int64_t m, int64_t n, int64_t k, const void *A, int64_t lda
13981397
(const block_q8_0 *)B, ldb,
13991398
(float *)C, ldc,
14001399
ith, nth};
1401-
tb.matmul(m, n, task);
1400+
tb.matmul(m, n);
14021401
return true;
14031402
#else
14041403
return false;
@@ -1414,7 +1413,7 @@ bool llamafile_sgemm(int64_t m, int64_t n, int64_t k, const void *A, int64_t lda
14141413
(const block_q8_0 *)B, ldb,
14151414
(float *)C, ldc,
14161415
ith, nth};
1417-
tb.matmul(m, n, task);
1416+
tb.matmul(m, n);
14181417
return true;
14191418
#else
14201419
return false;

0 commit comments

Comments
 (0)