2023-02-02 21:29:47 +08:00
|
|
|
add_mlir_conversion_library(TorchMLIRTorchToStablehlo
|
|
|
|
TorchToStablehlo.cpp
|
|
|
|
StablehloLegalizeUtils.cpp
|
|
|
|
Basic.cpp
|
2023-03-23 04:41:04 +08:00
|
|
|
GatherScatter.cpp
|
2023-02-02 21:29:47 +08:00
|
|
|
Linear.cpp
|
|
|
|
ViewLike.cpp
|
|
|
|
Reduction.cpp
|
|
|
|
Pooling.cpp
|
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${PROJECT_SOURCE_DIR}/include/torch-mlir/Conversion/TorchToStablehlo
|
|
|
|
|
|
|
|
DEPENDS
|
|
|
|
TorchMLIRConversionPassIncGen
|
|
|
|
|
|
|
|
LINK_LIBS PUBLIC
|
|
|
|
MLIRIR
|
|
|
|
MLIRPass
|
2023-09-13 10:10:02 +08:00
|
|
|
MLIRComplexDialect
|
|
|
|
ChloOps
|
2023-02-02 21:29:47 +08:00
|
|
|
StablehloOps
|
|
|
|
TorchMLIRTorchDialect
|
|
|
|
TorchMLIRConversionUtils
|
|
|
|
)
|
|
|
|
|
|
|
|
torch_mlir_target_includes(TorchMLIRTorchToStablehlo)
|