mirror of https://github.com/llvm/torch-mlir
24 lines
445 B
CMake
24 lines
445 B
CMake
add_mlir_conversion_library(TorchMLIRTorchToTMTensor
|
|
TorchToTMTensor.cpp
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
${PROJECT_SOURCE_DIR}/include/torch-mlir/Conversion/TorchToTMTensor
|
|
|
|
DEPENDS
|
|
TorchMLIRConversionPassIncGen
|
|
|
|
LINK_COMPONENTS
|
|
Core
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRIR
|
|
MLIRPass
|
|
MLIRLinalgDialect
|
|
MLIRMathDialect
|
|
TorchMLIRTorchDialect
|
|
TorchMLIRTMTensorDialect
|
|
TorchMLIRTorchUtils
|
|
)
|
|
|
|
torch_mlir_target_includes(TorchMLIRTorchToTMTensor)
|