Skip to content

Commit 1d8c997

Browse files
committed
Disable parallel + fusion again as there is another bug in it -> scf pass preventing it from working
1 parent c440786 commit 1d8c997

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/Dialect/IndexTree/Transforms/KernelFusion.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -833,6 +833,11 @@ void fuseITrees(IndexTreeOp new_itree,
833833
indexTree::YieldOp yield_op = llvm::cast<indexTree::YieldOp>(new_itree.getRegion().getBlocks().front().getTerminator());
834834
OpBuilder::InsertionGuard guard(rewriter);
835835
rewriter.setInsertionPoint(yield_op);
836+
/// TODO: Parallel execution does not seem to work properly when fusion is in place...
837+
for(auto indexOp : host_index_ops)
838+
{
839+
indexOp.setIsParallel(false);
840+
}
836841
/// Fuse each other itree to the new itree.
837842
for (uint32_t tree_i = 1; tree_i < num_itrees; ++tree_i) {
838843
/// Create Index Ops: 1) Record the common index ops, then 2) add the new index ops.

0 commit comments

Comments
 (0)