better throughput scheduling with steady state cost model, now limited to spatial

This commit is contained in:
NiccoloN
2026-10-26 12:07:01 +01:00
parent fd493ae6e8
commit 4b53f6cf10
62 changed files with 4293 additions and 871 deletions
+30
View File
@@ -30,6 +30,31 @@ add_pim_unittest(PimMemoryLivenessPlannerTest
OMPimCompilerUtils
)
add_pim_unittest(CopyAccessPlanTest
CopyAccessPlanTest.cpp
LINK_LIBS PRIVATE OMPimCompilerUtils
)
add_test(NAME CopyAccessPlanChecksActive COMMAND CopyAccessPlanTest --check-failure)
set_tests_properties(CopyAccessPlanChecksActive PROPERTIES WILL_FAIL TRUE LABELS pim-unittest)
add_test(NAME RowMajorStrideOverflow
COMMAND "${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_SOURCE_DIR}/test_ShapeUtils.py"
--test "$<TARGET_FILE:CopyAccessPlanTest>")
set_tests_properties(RowMajorStrideOverflow PROPERTIES LABELS pim-unittest)
add_pim_unittest(ComputeInputMaterializationTest
ComputeInputMaterializationTest.cpp
LINK_LIBS PRIVATE OMPimCompilerUtils
)
add_pim_unittest(ProjectionMemoryCostTest
ProjectionMemoryCostTest.cpp
LINK_LIBS PRIVATE OMPimCompilerUtils
)
add_pim_unittest(PimAbstractExecutionTest
PimAbstractExecutionTest.cpp
LINK_LIBS PRIVATE OMPimCompilerUtils
)
add_pim_unittest(SpatialSchedulingTargetTest
SpatialSchedulingTargetTest.cpp
@@ -77,3 +102,8 @@ add_pim_unittest(PimPipelineSelectionTest
PimPipelineSelectionTest.cpp
LINK_LIBS PRIVATE OMPimCompilerUtils
)
add_test(NAME PimSpatialSelectionTest
COMMAND "${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_SOURCE_DIR}/test_PimSpatialSelection.py"
--compiler "$<TARGET_FILE:onnx-mlir>")
set_tests_properties(PimSpatialSelectionTest PROPERTIES LABELS pim-unittest)