-
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
999c080
commit 7a53f67
Showing
32 changed files
with
839 additions
and
653 deletions.
There are no files selected for viewing
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
3 changes: 0 additions & 3 deletions
3
include/triton-shared/Conversion/FoldUnstructuredPtr/CMakeLists.txt
This file was deleted.
Oops, something went wrong.
17 changes: 0 additions & 17 deletions
17
include/triton-shared/Conversion/FoldUnstructuredPtr/FoldUnstructuredPtr.h
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
include/triton-shared/Conversion/FoldUnstructuredPtr/Passes.h
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
include/triton-shared/Conversion/TritonToUnstructured/CMakeLists.txt
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,3 @@ | ||
set(LLVM_TARGET_DEFINITIONS Passes.td) | ||
mlir_tablegen(Passes.h.inc -gen-pass-decls --name TritonToUnstructured) | ||
add_public_tablegen_target(TritonToUnstructuredConversionPassIncGen) |
15 changes: 15 additions & 0 deletions
15
include/triton-shared/Conversion/TritonToUnstructured/Passes.h
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,15 @@ | ||
#ifndef TRITON_TO_UNSTRUCTURED_CONVERSION_PASSES_H | ||
#define TRITON_TO_UNSTRUCTURED_CONVERSION_PASSES_H | ||
|
||
#include "triton-shared/Conversion/TritonToUnstructured/TritonToUnstructured.h" | ||
|
||
namespace mlir { | ||
namespace triton { | ||
|
||
#define GEN_PASS_REGISTRATION | ||
#include "triton-shared/Conversion/TritonToUnstructured/Passes.h.inc" | ||
|
||
} // namespace triton | ||
} // namespace mlir | ||
|
||
#endif |
8 changes: 4 additions & 4 deletions
8
.../Conversion/FoldUnstructuredPtr/Passes.td → ...Conversion/TritonToUnstructured/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
17 changes: 17 additions & 0 deletions
17
include/triton-shared/Conversion/TritonToUnstructured/TritonToUnstructured.h
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,17 @@ | ||
#ifndef TRITON_CONVERSION_TRITON_TO_UNSTRUCTURED_TRITON_TO_UNSTRUCTURED_H | ||
#define TRITON_CONVERSION_TRITON_TO_UNSTRUCTURED_TRITON_TO_UNSTRUCTURED_H | ||
|
||
#include "mlir/Pass/Pass.h" | ||
#include "mlir/Transforms/DialectConversion.h" | ||
|
||
#include "triton/Dialect/Triton/IR/Dialect.h" | ||
|
||
namespace mlir { | ||
namespace triton { | ||
|
||
std::unique_ptr<OperationPass<ModuleOp>> createTritonToUnstructuredPass(); | ||
|
||
} // namespace triton | ||
} // namespace mlir | ||
|
||
#endif // TRITON_CONVERSION_TRITON_TO_UNSTRUCTURED_TRITON_TO_UNSTRUCTURED_H |
16 changes: 9 additions & 7 deletions
16
include/triton-shared/Dialect/TritonStructured/IR/TritonStructuredDialect.h
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
add_subdirectory(FoldUnstructuredPtr) | ||
add_subdirectory(TritonToLinalg) | ||
add_subdirectory(TritonToLinalgExperimental) | ||
add_subdirectory(TritonToStructured) | ||
add_subdirectory(TritonToUnstructured) | ||
add_subdirectory(TritonArithToLinalg) | ||
add_subdirectory(StructuredToMemref) |
Oops, something went wrong.