Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nhat-nguyen committed Jan 7, 2025
1 parent 8090fcd commit 96b53e0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions include/triton-shared/Conversion/StructuredToMemref/Passes.td
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

0 comments on commit 96b53e0

Please sign in to comment.