-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8090fcd
commit 96b53e0
Showing
1 changed file
with
2 additions
and
8 deletions.
There are no files selected for viewing
10 changes: 2 additions & 8 deletions
10
include/triton-shared/Conversion/StructuredToMemref/Passes.td
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 |
---|---|---|
@@ -1,16 +1,10 @@ | ||
#ifndef TRITON_ARITH_TO_LINALG_CONVERSION_PASSES | ||
#define TRITON_ARITH_TO_LINALG_CONVERSION_PASSES | ||
#ifndef STRUCTURED_TO_MEMREF_CONVERSION_PASSES | ||
#define STRUCTURED_TO_MEMREF_CONVERSION_PASSES | ||
|
||
include "mlir/Pass/PassBase.td" | ||
|
||
def StructuredToMemref : Pass<"structured-to-memref", "mlir::ModuleOp"> { | ||
let summary = "Convert triton structured pointer ops to memref"; | ||
let options = [ | ||
Option<"convertArgsOnly", "convert-args-only", "bool", /*default*/"false", | ||
"Only run the pre-processing pass which inserts tts.get_structured_state ops used in scf.for">, | ||
Option<"noConvertArgs", "no-convert-args", "bool", /*default*/"false", | ||
"Only run the pre-processing pass which inserts tts.get_structured_state ops used in scf.for"> | ||
]; | ||
} | ||
|
||
#endif |