Skip to content

Commit 962372e

Browse files
committed
bug--
1 parent aca7502 commit 962372e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

topic_understanding_performance/matrixmultiplication/calibrate_flops.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
for (i=0; i < n; i++) {
2727
for (k=0; k < n; k++) {
2828
for (j=0; j < n; j++) {
29-
C[i*n+j] = A[i*n+k] * B[k*n+j];
29+
C[i*n+j] += A[i*n+k] * B[k*n+j];
3030
}
3131
}
3232
}

0 commit comments

Comments
 (0)