replace deprecated "rewriter.create()" pattern
refactor PIM to Pim everywhere except for the accelerator name
This commit is contained in:
20
src/PIM/Conversion/SpatialToPim/CMakeLists.txt
Normal file
20
src/PIM/Conversion/SpatialToPim/CMakeLists.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
set(LLVM_TARGET_DEFINITIONS SpatialToPim.td)
|
||||
mlir_tablegen(SpatialToPim.hpp.inc -gen-rewriters "-I${ONNX_MLIR_SRC_ROOT}")
|
||||
add_public_tablegen_target(SpatialToPimIncGen)
|
||||
|
||||
add_onnx_mlir_library(OMSpatialToPim
|
||||
SpatialToPimPass.cpp
|
||||
SpatialToPimCommon.cpp
|
||||
|
||||
DEPENDS
|
||||
SpatialToPimIncGen
|
||||
|
||||
LINK_LIBS PUBLIC
|
||||
OMCompilerOptions
|
||||
OMPimCommon
|
||||
SpatialOps
|
||||
PimOps
|
||||
|
||||
ACCEL_INCLUDE_DIRS PRIVATE
|
||||
${PIM_INCLUDE_PATH}
|
||||
)
|
||||
Reference in New Issue
Block a user