-
Notifications
You must be signed in to change notification settings - Fork 4
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
3420eb5
commit ad91450
Showing
10 changed files
with
51 additions
and
35 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
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,7 +1,9 @@ | ||
.cache | ||
.vscode | ||
/.vscode/ | ||
/.idea/ | ||
.directory | ||
.venv | ||
/llvm | ||
/torch-mlir | ||
/upmem | ||
/.venv/ | ||
/llvm/ | ||
/torch-mlir/ | ||
/upmem/ | ||
/.env |
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 |
---|---|---|
|
@@ -23,7 +23,6 @@ build-* | |
build | ||
llvm | ||
.cache | ||
.env | ||
sandbox | ||
|
||
python/cinnamon/_resources |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
/// @author Clément Fournier ([email protected]) | ||
|
||
#include "cinm-mlir/Conversion/CimPasses.h" | ||
#include "cinm-mlir/Conversion/CinmFrontendPasses.h" | ||
#include "cinm-mlir/Conversion/CinmPasses.h" | ||
#include "cinm-mlir/Conversion/CnmPasses.h" | ||
#include "cinm-mlir/Conversion/MemristorPasses.h" | ||
|
@@ -23,6 +22,7 @@ | |
#include "cinm-mlir/Dialect/UPMEM/Transforms/Passes.h" | ||
|
||
#ifdef CINM_TORCH_MLIR_ENABLED | ||
#include "cinm-mlir/Conversion/CinmFrontendPasses.h" // Does the TorchToCinm pass | ||
#include "torch-mlir/Dialect/Torch/IR/TorchDialect.h" | ||
#include "torch-mlir/Dialect/TorchConversion/IR/TorchConversionDialect.h" | ||
#endif | ||
|
@@ -55,7 +55,9 @@ int main(int argc, char *argv[]) { | |
|
||
registerAllPasses(); | ||
registerAllExtensions(registry); | ||
#ifdef CINM_TORCH_MLIR_ENABLED | ||
registerCinmFrontendConversionPasses(); | ||
#endif | ||
registerCinmConversionPasses(); | ||
registerCimConversionPasses(); | ||
registerCnmConversionPasses(); | ||
|
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