Skip to content

Commit a104c83

Browse files
committed
add n_ranks print
1 parent a66af10 commit a104c83

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/Transform/Affine/AffineDistributeToMPI.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ struct AffineDistributeToMPI
2222

2323
// TODO: change to work with funcOp instead of affineForOp?
2424
void runOnOperation() {
25+
// print number of ranks
26+
llvm::errs() << "n_ranks=" << n_ranks << "\n";
27+
28+
// capture affineForOp and walk the IR
2529
getOperation()->walk([&](AffineForOp op) {
2630
OpBuilder builder(op.getContext());
2731

0 commit comments

Comments
 (0)