Skip to content

Commit

Permalink
transformer: debug gemm in concat
Browse files Browse the repository at this point in the history
  • Loading branch information
Viviane Potocnik committed Oct 20, 2023
1 parent cbc0d29 commit cf0794a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions sw/blas/gemm/src/gemm.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ void gemm_fp64_baseline(uint32_t M, uint32_t N, uint32_t K, double* A,
if (!ta && !tb) {
for (uint32_t m = 0; m < M; m++) {
for (uint32_t n = 0; n < N; n++) {
register double c0 = BETA * C[m * ldC + n];
double c0 = BETA * C[m * ldC + n];
for (uint32_t k = 0; k < K; k++) {
c0 += A[k + m * ldA] * B[k * ldB + n];
dump_index(k + m * ldA);
dump_gemm(A[k + m * ldA]);
// c0 += A[k + m * ldA] * B[k * ldB + n];
}
C[m * ldC + n] = c0;
}
Expand Down

0 comments on commit cf0794a

Please sign in to comment.