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-07-22 15:18:18 +08:00
|
|
|
ViewLikeOps.cpp
|
2022-07-21 07:18:16 +08:00
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${PROJECT_SOURCE_DIR}/include/torch-mlir/Conversion/TorchToMhlo
|
|
|
|
|
|
|
|
DEPENDS
|
|
|
|
MhloDialect
|
|
|
|
TorchMLIRConversionPassIncGen
|
|
|
|
|
|
|
|
LINK_COMPONENTS
|
|
|
|
Core
|
|
|
|
|
|
|
|
LINK_LIBS PUBLIC
|
|
|
|
MLIRIR
|
|
|
|
MLIRPass
|
|
|
|
MhloDialect
|
|
|
|
TorchMLIRTorchDialect
|
|
|
|
)
|
|
|
|
|
|
|
|
torch_mlir_target_includes(TorchMLIRTorchToMhlo)
|