2021-09-23 00:55:09 +08:00
|
|
|
add_mlir_library(TorchMLIRRefBackend
|
|
|
|
RefBackend.cpp
|
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${PROJECT_SRC_DIR}/include/torch-mlir/RefBackend
|
|
|
|
|
|
|
|
DEPENDS
|
2022-09-23 21:08:16 +08:00
|
|
|
MLIRTorchTypesIncGen
|
2021-09-23 00:55:09 +08:00
|
|
|
TorchMLIRRefBackendPassIncGen
|
|
|
|
|
|
|
|
LINK_COMPONENTS
|
|
|
|
Core
|
|
|
|
|
|
|
|
LINK_LIBS PUBLIC
|
|
|
|
MLIRIR
|
|
|
|
MLIRTransforms
|
|
|
|
MLIRMathTransforms
|
2023-10-17 10:29:48 +08:00
|
|
|
MLIRLinalgTransforms
|
2021-09-23 00:55:09 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
mlir_check_all_link_libraries(TorchMLIRRefBackend)
|
|
|
|
torch_mlir_target_includes(TorchMLIRRefBackend)
|