Skip to content

Commit

Permalink
fix test, no convertToDPS with forall dist
Browse files Browse the repository at this point in the history
Signed-off-by: Max Dawkins <max.dawkins@gmail.com>
  • Loading branch information
Max191 committed Oct 16, 2024
1 parent edcc067 commit 7b2e61b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
10 changes: 5 additions & 5 deletions compiler/src/iree/compiler/Codegen/LLVMGPU/Passes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,13 +201,13 @@ static void tileAndDistributeToWorkgroup(
funcPassManager.addPass(createTileAndDistributeToWorkgroupsPass(
kNumMaxParallelDims,
linalg::DistributionMethod::CyclicNumProcsEqNumIters));
funcPassManager.addPass(createCSEPass());
if (convertToDpsOptions) {
funcPassManager.addPass(
createConvertToDestinationPassingStylePass(*convertToDpsOptions));
}
}
funcPassManager.addPass(createCSEPass());

if (convertToDpsOptions) {
funcPassManager.addPass(
createConvertToDestinationPassingStylePass(*convertToDpsOptions));
}
// TODO(#16421): Disable decomposition due to failure in bufferization.
// funcPassManager.addPass(
// IREE::LinalgExt::createTileAndDecomposeAttentionPass());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1089,6 +1089,7 @@ hal.executable public @main {

// Verify that the write does not get hoisted out of the single threaded
// for loop.
// CHECK: vector.transfer_write %{{.*}}, %[[B2]]{{.*}} memref<10x1xf32, #hal.descriptor_type<storage_buffer>>
// CHECK-NEXT: }
// CHECK: vector.transfer_write %{{.*}}, %[[B2]]{{.*}} memref<10x1xf32, #hal.descriptor_type<storage_buffer>>
// CHECK-NEXT: }
// CHECK-NEXT: } {mapping = [#iree_codegen.workgroup_mapping<x>]}
// CHECK-NEXT: return

0 comments on commit 7b2e61b

Please sign in to comment.