Fix build issues in sgemm.cpp post rebase

This commit is contained in:
Srihari-mcw 2024-07-07 19:29:04 -07:00
parent c480818d97
commit 5a6a235ac7

View file

@ -829,9 +829,8 @@ class tinyBLAS_Q0_B16_AVX {
: A(A), B(B), C(C), k(k), lda(lda), ldb(ldb), ldc(ldc), ith(ith), nth(nth) { : A(A), B(B), C(C), k(k), lda(lda), ldb(ldb), ldc(ldc), ith(ith), nth(nth) {
} }
void matmul(int64_t m, int64_t n, int task) { void matmul(int64_t m, int64_t n) {
if (task == GGML_TASK_TYPE_COMPUTE) mnpack(0, m, 0, n);
mnpack(0, m, 0, n);
} }
private: private:
@ -1398,7 +1397,7 @@ bool llamafile_sgemm(int64_t m, int64_t n, int64_t k, const void *A, int64_t lda
(const block_q8_0 *)B, ldb, (const block_q8_0 *)B, ldb,
(float *)C, ldc, (float *)C, ldc,
ith, nth}; ith, nth};
tb.matmul(m, n, task); tb.matmul(m, n);
return true; return true;
#else #else
return false; return false;
@ -1414,7 +1413,7 @@ bool llamafile_sgemm(int64_t m, int64_t n, int64_t k, const void *A, int64_t lda
(const block_q8_0 *)B, ldb, (const block_q8_0 *)B, ldb,
(float *)C, ldc, (float *)C, ldc,
ith, nth}; ith, nth};
tb.matmul(m, n, task); tb.matmul(m, n);
return true; return true;
#else #else
return false; return false;