909c4acfdd
Validate Operations / validate-operations (push) Has been cancelled
remove Spatial many ops in favor of tensor ops like in pim
34 lines
716 B
CMake
34 lines
716 B
CMake
set(LLVM_TARGET_DEFINITIONS SpatialToPim.td)
|
|
mlir_tablegen(SpatialToPim.hpp.inc -gen-rewriters "-I${ONNX_MLIR_SRC_ROOT}")
|
|
add_public_tablegen_target(SpatialToPimIncGen)
|
|
|
|
add_pim_library(OMSpatialToPim
|
|
SpatialToPimPass.cpp
|
|
BatchCoreLoweringPatterns.cpp
|
|
ChannelLoweringPatterns.cpp
|
|
Cleanup.cpp
|
|
Common.cpp
|
|
ComputeLikeRegionUtils.cpp
|
|
CoreLoweringPatterns.cpp
|
|
GlobalTensorMaterialization.cpp
|
|
PhaseVerification.cpp
|
|
ReturnPathNormalization.cpp
|
|
TensorPackingPatterns.cpp
|
|
|
|
EXCLUDE_FROM_OM_LIBS
|
|
|
|
DEPENDS
|
|
SpatialToPimIncGen
|
|
|
|
LINK_LIBS PUBLIC
|
|
MLIRSCFDialect
|
|
MLIRTosaDialect
|
|
OMCompilerOptions
|
|
OMPimCommon
|
|
SpatialOps
|
|
PimOps
|
|
|
|
ACCEL_INCLUDE_DIRS PRIVATE
|
|
${PIM_GENERATED_INCLUDE_DIRS}
|
|
)
|