Skip to content

Commit

Permalink
fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippvK committed Sep 11, 2024
1 parent d1501a4 commit f59364c
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
6 changes: 3 additions & 3 deletions Integration/tflm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ set(TFLM_SRCS
${CMAKE_CURRENT_SOURCE_DIR}/tensorflow/lite/kernels/padding.h
${CMAKE_CURRENT_SOURCE_DIR}/tensorflow/lite/portable_type_to_tflitetype.h
${CMAKE_CURRENT_SOURCE_DIR}/tensorflow/lite/builtin_op_data.h

)

set(TFLM_THIRD_PARTY_SRCS
Expand Down Expand Up @@ -421,13 +421,13 @@ target_include_directories(tflm PUBLIC

if(${TOOLCHAIN} STREQUAL "LLVM")
target_link_libraries(tflm PRIVATE
${MURISCVNN_LIB}
muriscvnn
m
stdc++
)
else()
target_link_libraries(tflm PRIVATE
${MURISCVNN_LIB}
muriscvnn
)
endif()

Expand Down
4 changes: 2 additions & 2 deletions Integration/tvm/aww/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ if(${SIMULATOR} STREQUAL "Vicuna")

${PROJECT_SOURCE_DIR}/Sim/Vicuna/vicuna/sw/lib/uart.c
${PROJECT_SOURCE_DIR}/Sim/Vicuna/vicuna/sw/lib/uart.h

${PROJECT_SOURCE_DIR}/Sim/Vicuna/crt/vicuna_crt.c
${PROJECT_SOURCE_DIR}/Sim/Vicuna/crt/vicuna_crt.h
)
Expand Down Expand Up @@ -84,6 +84,6 @@ else()

endif()

target_link_libraries(${TEST_NAME}_tvm PRIVATE ${MURISCVNN_LIB})
target_link_libraries(${TEST_NAME}_tvm PRIVATE muriscvnn)

add_muriscv_nn_intg_test(${TEST_NAME}_tvm)
12 changes: 6 additions & 6 deletions Integration/tvm/ic/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ if(${SIMULATOR} STREQUAL "Vicuna")
${CMAKE_CURRENT_SOURCE_DIR}/${MLF_DIR}/codegen/host/include
${PROJECT_SOURCE_DIR}/Include
${PROJECT_SOURCE_DIR}/Include/CMSIS/NN/Include

${PROJECT_SOURCE_DIR}/Sim/Vicuna/vicuna/sw/lib
${PROJECT_SOURCE_DIR}/Sim/Vicuna/crt

)

target_sources(${TEST_NAME}_tvm PRIVATE
Expand All @@ -53,10 +53,10 @@ if(${SIMULATOR} STREQUAL "Vicuna")
${CMAKE_CURRENT_SOURCE_DIR}/${TEST_NAME}_data/${TEST_NAME}_model_settings.h
${CMAKE_CURRENT_SOURCE_DIR}/${TEST_NAME}_data/${TEST_NAME}_output_data_ref.cc
${CMAKE_CURRENT_SOURCE_DIR}/${TEST_NAME}_data/${TEST_NAME}_output_data_ref.h

${PROJECT_SOURCE_DIR}/Sim/Vicuna/vicuna/sw/lib/uart.c
${PROJECT_SOURCE_DIR}/Sim/Vicuna/vicuna/sw/lib/uart.h

${PROJECT_SOURCE_DIR}/Sim/Vicuna/crt/vicuna_crt.c
${PROJECT_SOURCE_DIR}/Sim/Vicuna/crt/vicuna_crt.h
)
Expand All @@ -66,7 +66,7 @@ else()
${CMAKE_CURRENT_SOURCE_DIR}/${MLF_DIR}/runtime/include
${CMAKE_CURRENT_SOURCE_DIR}/${MLF_DIR}/codegen/host/include
${PROJECT_SOURCE_DIR}/Include
${PROJECT_SOURCE_DIR}/Include/CMSIS/NN/Include
${PROJECT_SOURCE_DIR}/Include/CMSIS/NN/Include
)

target_sources(${TEST_NAME}_tvm PRIVATE
Expand All @@ -83,6 +83,6 @@ else()
)
endif()

target_link_libraries(${TEST_NAME}_tvm PRIVATE ${MURISCVNN_LIB})
target_link_libraries(${TEST_NAME}_tvm PRIVATE muriscvnn)

add_muriscv_nn_intg_test(${TEST_NAME}_tvm)
4 changes: 2 additions & 2 deletions Integration/tvm/toy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if(${SIMULATOR} STREQUAL "Vicuna")

${PROJECT_SOURCE_DIR}/Sim/Vicuna/vicuna/sw/lib/uart.c
${PROJECT_SOURCE_DIR}/Sim/Vicuna/vicuna/sw/lib/uart.h

${PROJECT_SOURCE_DIR}/Sim/Vicuna/crt/vicuna_crt.c
${PROJECT_SOURCE_DIR}/Sim/Vicuna/crt/vicuna_crt.h
)
Expand Down Expand Up @@ -83,6 +83,6 @@ else()

endif()

target_link_libraries(${TEST_NAME}_tvm PRIVATE ${MURISCVNN_LIB})
target_link_libraries(${TEST_NAME}_tvm PRIVATE muriscvnn)

add_muriscv_nn_intg_test(${TEST_NAME}_tvm)
2 changes: 1 addition & 1 deletion Integration/tvm/vww/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ target_sources(${TEST_NAME}_tvm PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/${TEST_NAME}_data/${TEST_NAME}_output_data_ref.h
)

target_link_libraries(${TEST_NAME}_tvm PRIVATE ${MURISCVNN_LIB})
target_link_libraries(${TEST_NAME}_tvm PRIVATE muriscvnn)

add_muriscv_nn_intg_test(${TEST_NAME}_tvm)

0 comments on commit f59364c

Please sign in to comment.