2022-07-21 07:18:16 +08:00
|
|
|
add_mlir_conversion_library(TorchMLIRTorchToMhlo
|
|
|
|
TorchToMhlo.cpp
|
2022-07-27 13:07:51 +08:00
|
|
|
MhloLegalizeUtils.cpp
|
2022-08-04 12:34:22 +08:00
|
|
|
Basic.cpp
|
|
|
|
Gather.cpp
|
2022-08-04 10:10:54 +08:00
|
|
|
Linear.cpp
|
2022-08-04 12:34:22 +08:00
|
|
|
ViewLike.cpp
|
|
|
|
Reduction.cpp
|
|
|
|
Pooling.cpp
|
2022-07-21 07:18:16 +08:00
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${PROJECT_SOURCE_DIR}/include/torch-mlir/Conversion/TorchToMhlo
|
|
|
|
|
|
|
|
DEPENDS
|
|
|
|
MhloDialect
|
2022-08-02 12:53:24 +08:00
|
|
|
ChloDialect
|
2022-07-21 07:18:16 +08:00
|
|
|
TorchMLIRConversionPassIncGen
|
|
|
|
|
|
|
|
LINK_COMPONENTS
|
|
|
|
Core
|
|
|
|
|
|
|
|
LINK_LIBS PUBLIC
|
|
|
|
MLIRIR
|
|
|
|
MLIRPass
|
|
|
|
MhloDialect
|
2022-08-02 12:53:24 +08:00
|
|
|
ChloDialect
|
2022-07-21 07:18:16 +08:00
|
|
|
TorchMLIRTorchDialect
|
|
|
|
)
|
|
|
|
|
|
|
|
torch_mlir_target_includes(TorchMLIRTorchToMhlo)
|