Skip to content

Commit

Permalink
Fix a bug in WASM's GEMM
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed Mar 22, 2024
1 parent 6238e9c commit 1e158ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onnxruntime/core/mlas/lib/wasm_simd/SgemmKernelWasmSimd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,11 @@ Return Value:
if (k > 0) {

Row0AElements0 = a[0];
Row0AElements1 = a[1];
Row0AElements1 = a[0];

if (ProcessTwoRows) {
Row1AElements0 = a[lda];
Row1AElements1 = a[lda + 1];
Row1AElements1 = a[lda];
}

BElements0 = MlasLoadFloat32x4(B + 0);
Expand Down

0 comments on commit 1e158ea

Please sign in to comment.