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-23 16:47:21 +08:00
|
|
|
MhloToLinalg
|
|
|
|
MLIRMhloPassIncGen
|
2022-09-08 10:15:36 +08:00
|
|
|
LMHLOTransformsPassIncGen
|
2022-07-21 07:18:16 +08:00
|
|
|
TorchMLIRConversionPassIncGen
|
|
|
|
|
|
|
|
LINK_COMPONENTS
|
|
|
|
Core
|
|
|
|
|
|
|
|
LINK_LIBS PUBLIC
|
|
|
|
MLIRIR
|
|
|
|
MLIRPass
|
|
|
|
MhloDialect
|
2022-08-23 16:47:21 +08:00
|
|
|
MhloToLinalg
|
2022-09-08 10:15:36 +08:00
|
|
|
MLIRBufferTransforms
|
2022-10-18 12:22:53 +08:00
|
|
|
StablehloOps
|
2022-07-21 07:18:16 +08:00
|
|
|
TorchMLIRTorchDialect
|
2022-11-10 08:34:53 +08:00
|
|
|
TorchMLIRConversionUtils
|
2022-07-21 07:18:16 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
torch_mlir_target_includes(TorchMLIRTorchToMhlo)
|