2020-10-09 09:29:59 +08:00
|
|
|
add_npcomp_dialect_library(NPCOMPTorchDialect
|
2020-09-29 03:02:35 +08:00
|
|
|
TorchDialect.cpp
|
|
|
|
TorchOps.cpp
|
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${PROJECT_SOURCE_DIR}/include/npcomp/Dialect/Torch
|
|
|
|
|
|
|
|
DEPENDS
|
|
|
|
MLIRTorchOpsIncGen
|
2021-01-28 08:35:44 +08:00
|
|
|
MLIRTorchTypesIncGen
|
2020-09-29 03:02:35 +08:00
|
|
|
|
|
|
|
LINK_COMPONENTS
|
|
|
|
Core
|
|
|
|
|
|
|
|
LINK_LIBS PUBLIC
|
|
|
|
MLIRIR
|
|
|
|
MLIRSupport
|
2021-03-02 07:00:32 +08:00
|
|
|
MLIRControlFlowInterfaces
|
2021-03-02 09:24:15 +08:00
|
|
|
MLIRSideEffectInterfaces
|
2020-09-30 05:17:34 +08:00
|
|
|
NPCOMPBasicpyDialect
|
|
|
|
NPCOMPNumpyDialect
|
2021-04-29 05:36:46 +08:00
|
|
|
NPCOMPInterfaces
|
2020-09-29 03:02:35 +08:00
|
|
|
)
|