Skip to content

Commit 59d4766

Browse files
Ajo E JoseGitHub Enterprise
authored andcommitted
AIE/D/10-GeMM: update readme
1 parent 0c5e0e2 commit 59d4766

13 files changed

+314
-255
lines changed

AI_Engine_Development/AIE/Design_Tutorials/10-GeMM_AIEvsDSP/AIE/README.md

Lines changed: 183 additions & 196 deletions
Large diffs are not rendered by default.

AI_Engine_Development/AIE/Design_Tutorials/10-GeMM_AIEvsDSP/AIE/design/pl_src/dma_hls.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@ void inp_A(
129129
ap_int<32> i = 0;
130130
//inp_A:for(ap_int<32> i =0;i< matSz_A;i++) {
131131
inp_A:for(ap_int<32> j =matSz_A;j;j--) {
132+
if( (matSz_A == -1 ) && (j==1) ) {
133+
j = -1;
134+
}
132135
#pragma HLS PIPELINE II=1
133136
//#pragma HLS DATAFLOW
134137
#pragma HLS loop_tripcount min=256 max=8192
@@ -196,6 +199,9 @@ void inp_B(
196199
{
197200
ap_int<32> i = 0;
198201
inp_B:for(ap_int<32> j = matSz_B;j; j--) {
202+
if( (matSz_B == -1 ) && (j==1) ) {
203+
j = -1;
204+
}
199205
#pragma HLS PIPELINE II=1
200206
//#pragma HLS DATAFLOW
201207
#pragma HLS loop_tripcount min=0 max=8192
@@ -261,6 +267,9 @@ void out_C(
261267
{
262268
ap_int<32> i = 0;
263269
out_C:for(ap_int<32> j = matSz_C;j; j--) {
270+
if( (matSz_C == -1 ) && (j==1) ) {
271+
j = -1;
272+
}
264273
#pragma HLS PIPELINE II=1
265274
//#pragma HLS DATAFLOW
266275
#pragma HLS loop_tripcount min=0 max=32768
-75.7 KB
Loading
-45 KB
Loading
-25.7 KB
Loading
9.12 KB
Loading
6.65 KB
Loading
-57.6 KB
Loading
-45.5 KB
Loading
-229 KB
Loading

0 commit comments

Comments
 (0)