Skip to content
Snippets Groups Projects
Commit 691b1bff authored by Yifan Zhao's avatar Yifan Zhao
Browse files

hpvm-check -> check-hpvm

parent b3a2258a
No related branches found
No related tags found
No related merge requests found
......@@ -43,12 +43,6 @@ set_target_properties(check-hpvm PROPERTIES FOLDER "Tests")
add_lit_testsuites(HPVM ${CMAKE_CURRENT_SOURCE_DIR} DEPENDS ${HPVM_TEST_DEPENDS})
# Setup a legacy alias for 'check-llvm'. This will likely change to be an
# alias for 'check-all' at some point in the future.
add_custom_target(hpvm-check)
add_dependencies(hpvm-check check-hpvm)
set_target_properties(hpvm-check PROPERTIES FOLDER "Tests")
# HPVM-C benchmarks uses ctest instead of LLVM's test mechanism
# because they are compiled in a custom way
include(CTest)
......
......@@ -24,8 +24,8 @@ This directory is organized as follows:
## Running Test Cases and Benchmarks
The easiest way to run `unitTests/` and `regressionTests/` is
to build the target `hpvm-check` in the global build directory: `make -j hpvm-check`.
`hpvm-check` doesn't automatically run `benchmarks/` and `dnn_benchmarks` as they are extremely time-consuming.
to build the target `check-hpvm` in the global build directory: `make -j check-hpvm`.
`check-hpvm` doesn't automatically run `benchmarks/` and `dnn_benchmarks` as they are extremely time-consuming.
`benchmarks/` can only be compiled in-source with `make`.
We are working to migrate it into the `cmake` system.
......
......@@ -53,6 +53,6 @@ foreach(dir ${entries})
run_single_benchmark(run_${dirname}_cudnn ${dirname}_cudnn)
endforeach(dir)
message(STATUS "List of test dnn benchmarks: ${test_compile_targets}")
message(STATUS "List of HPVM-C DNN benchmarks: ${test_compile_targets}")
add_custom_target(dnn_benchmarks DEPENDS ${test_compile_targets})
message(STATUS "Target name for compiling all dnn benchmarks: dnn_benchmarks")
message(STATUS "Target name for compiling all DNN benchmarks: dnn_benchmarks")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment