mirror of https://github.com/llvm/torch-mlir
30 lines
558 B
CMake
30 lines
558 B
CMake
|
add_mlir_library(TorchMLIRTMTensorDialect
|
||
|
TMTensorDialect.cpp
|
||
|
TMTensorInterfaces.cpp
|
||
|
TMTensorOps.cpp
|
||
|
ScalarLoopOpInterface.cpp
|
||
|
|
||
|
ADDITIONAL_HEADER_DIRS
|
||
|
${TORCH_MLIR_DIALECTS_SOURCE_DIR}/include
|
||
|
|
||
|
DEPENDS
|
||
|
TorchMLIRTMTensorOpsIncGen
|
||
|
|
||
|
LINK_LIBS PUBLIC
|
||
|
MLIRAffineDialect
|
||
|
MLIRDialectUtils
|
||
|
MLIRIR
|
||
|
MLIRLinalgDialect
|
||
|
MLIRMathDialect
|
||
|
MLIRMemRefDialect
|
||
|
MLIRPass
|
||
|
MLIRSideEffectInterfaces
|
||
|
MLIRSupport
|
||
|
MLIRSCFDialect
|
||
|
MLIRFuncDialect
|
||
|
MLIRTensorDialect
|
||
|
MLIRViewLikeInterface
|
||
|
)
|
||
|
|
||
|
torch_mlir_target_includes(TorchMLIRTMTensorDialect)
|