- Timestamp:
- Mar 10, 2024, 11:21:18 AM (4 months ago)
- Branches:
- master
- Children:
- 9398177
- Parents:
- b64d0f4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/mike_brooks_MMath/programs/array-boundcheck-removal-matmul.cfa
rb64d0f4 r5546f50b 4 4 forall( [M], [N], [P] ) 5 5 void matmul( array(float, M, P) & src1, 6 7 8 9 10 11 12 6 array(float, P, N) & src2, 7 array(float, M, N) & tgt ) { 8 for (i; M) for (j; N) { 9 tgt[i][j] = 0; 10 for (k; P) 11 tgt[i][j] += src1[i][k] * src2[k][j]; 12 } 13 13 }
Note: See TracChangeset
for help on using the changeset viewer.