Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
pthomadakis committed Oct 22, 2023
1 parent 9a37487 commit 25991c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 3 additions & 8 deletions lib/Conversion/IndexTreeToSCF/IndexTreeToSCF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2220,9 +2220,7 @@ namespace
allValueAccessIdx[2]);
}
}
//puts("--------");
}
//puts("AFTER- PASS");

/// ----------------- ///
/// Generate Cij = Wj node, gathering the results in the workspace to the sparse output C.val.
Expand Down Expand Up @@ -4211,12 +4209,9 @@ namespace
MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(LowerIndexTreeToSCFPass)
void runOnOperation() override;

assert(isa<indexTree::IndexTreeOp>(rootOp));
comet_debug() << "\nIndexTreeIRLowering in LowerIndexTreeIRToSCF\n";
//comet_pdump(rootOp.getOperation()->getParentOp());
// Here, should check the operands, at least one operand should be sparse;
// Otherwise, if all dense operands, just return.
// rootOp only contains one workspace child, no indices
void doLoweringIndexTreeToSCF(indexTree::IndexTreeOp &rootOp,
OpBuilder &builder);
};

} /// end anonymous namespace.

Expand Down
2 changes: 0 additions & 2 deletions lib/Dialect/TensorAlgebra/Transforms/TensorDeclLowering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1752,8 +1752,6 @@ namespace
llvm::errs() << "Failed to applyPartialConversion in DenseTensorDeclLoweringPass\n";
signalPassFailure();
}

//function.dump();
}
};

Expand Down

0 comments on commit 25991c5

Please sign in to comment.