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-07-21 07:18:16 +08:00
|
|
|
BasicOp.cpp
|
2022-07-25 23:47:46 +08:00
|
|
|
GatherOp.cpp
|
2022-08-04 10:10:54 +08:00
|
|
|
Linear.cpp
|
2022-07-22 15:18:18 +08:00
|
|
|
ViewLikeOps.cpp
|
2022-08-03 10:47:52 +08:00
|
|
|
ReductionOp.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)
|