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.
Merge pull request #81 from ROCm/rocm-jaxlib-v0.4.35-qa-triton-autotuner
Enable Triton Auto-tuning in XLA
- Loading branch information
Showing
14 changed files
with
400 additions
and
141 deletions.
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
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
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
Oops, something went wrong.