forked from openxla/xla
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ROCm] Fixed an issue with InstructionSchedHintsPass
- Loading branch information
1 parent
2d9229a
commit 2bd6f7e
Showing
3 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
third_party/triton/temporary/fix_InsertInstructionSchedHints.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/third_party/amd/include/TritonAMDGPUToLLVM/Passes.td | ||
+++ b/third_party/amd/include/TritonAMDGPUToLLVM/Passes.td | ||
@@ -59,7 +59,7 @@ | ||
let summary = "Insert instruction scheduling hints after the dot ops in the main loop"; | ||
let constructor = "mlir::triton::createInsertInstructionSchedHintsPass()"; | ||
|
||
- let dependentDialects = ["mlir::LLVM::LLVMDialect"]; | ||
+ let dependentDialects = ["mlir::LLVM::LLVMDialect", "mlir::triton::amdgpu::TritonAMDGPUDialect"]; | ||
} | ||
|
||
def LowerInstructionSchedHints : Pass<"lower-insert-instruction-sched-hints", "mlir::ModuleOp"> { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters