summaryrefslogtreecommitdiff
path: root/examples/program_analysis/paper_demos/gemm2.before.txt
blob: 6e0ab1c5737f45a12b524b9642bd2f54a153cd33 (plain)
1
2
3
4
5
6
7
8
9
10
assert(k > 1);
int outer = k, A_cols = k / 2;
read_mat(outer, A_cols, &A);
read_mat(A_cols, outer, &B);
while (!done(A, B)) {
    read_row(&A);
    read_col(&B);
    outer++;
}
gemm_large(A, B, &C, outer, A_cols, outer);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback