Skip to content

Commit

Permalink
runq.c - Disabled cblas matmul
Browse files Browse the repository at this point in the history
May need invasive rewrite for 8bit quant. Won't fix.
  • Loading branch information
trholding committed Mar 20, 2024
1 parent 103d3b1 commit d62525d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions runq.c
Original file line number Diff line number Diff line change
Expand Up @@ -509,9 +509,9 @@ void matmul(float* xout, QuantizedTensor *x, QuantizedTensor *w, int n, int d) {

int i;
// L2E Addition
#ifdef BLAS // TODO: FIX INTQ8
/* #ifdef BLAS // TODO: FIX INTQ8
cblas_sgemv(CblasRowMajor, CblasNoTrans, d, n, 1.0f, w, n, x, 1, 0.0f, xout, 1);
#else
#else */
#ifdef ACCEL
ACCEL(i) // OMP/OACC Macro
#endif
Expand All @@ -533,7 +533,7 @@ void matmul(float* xout, QuantizedTensor *x, QuantizedTensor *w, int n, int d) {
xout[i] = val;
}
// L2E Addition
#endif
/* #endif */
// END L2E Addition
}

Expand Down

0 comments on commit d62525d

Please sign in to comment.