Skip to content

Commit 892aca4

Browse files
remove printf
Signed-off-by: Alexandre Eichenberger <[email protected]>
1 parent 0256ba4 commit 892aca4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Accelerators/NNPA/Transform/ZLow/ZLowStickExpansion.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ class UnstickExpansionPattern : public OpRewritePattern<ZLowUnstickOp> {
204204
const int64_t unrollVL = 4;
205205
const int64_t totVL = unrollVL * archVL;
206206
assert(totVL <= 64 && "bad unroll");
207-
create.krnl.printf("unsitckify: full 64 stick\n");
207+
// create.krnl.printf("unsitckify: full 64 stick\n");
208208
if (!neverHas64) {
209209
create.scf.forLoop(litZero.getValue(), lit64.getValue(),
210210
totVL, [&](const SCFBuilder b, ValueRange loopInd) {
@@ -258,7 +258,7 @@ class UnstickExpansionPattern : public OpRewritePattern<ZLowUnstickOp> {
258258
[&](SCFBuilder b, ValueRange loopInd) {
259259
MDBuilder create(b);
260260
IndexExprScope innerScope(b, &middleScope);
261-
create.krnl.printf("unsitckify: totVL val\n");
261+
// create.krnl.printf("unsitckify: totVL val\n");
262262
Value loopIndex = loopInd[0];
263263
IndexExpr l = DimIE(loopIndex);
264264
// Load f16 values from input via reinterpreted data
@@ -307,11 +307,13 @@ class UnstickExpansionPattern : public OpRewritePattern<ZLowUnstickOp> {
307307
outputAF[E1] = outputAF[E1] + SymIE(lastL);
308308
outputAF[E1] = outputAF[E1] + l;
309309
create.krnl.storeIE(f32, alloc, outputAF);
310+
#if 0
310311
create.krnl.printf("unsitckify: 1 val:");
311312
for (auto af : outputAF)
312313
create.krnl.printf(", ", af.getValue(),
313314
af.getValue().getType(), false);
314315
create.krnl.printf("\n");
316+
#endif
315317
});
316318
});
317319
});

0 commit comments

Comments
 (0)