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

Merge remote-tracking branch 'origin/approx_hpvm_hotfix' into hpvm-release-exp

parents 44b4339d 698806b5
No related branches found
No related tags found
No related merge requests found
......@@ -155,7 +155,8 @@ Example: "DCMAKE_BUILD_TYPE=Release DCMAKE_INSTALL_PREFIX=install".
Arguments: """
)
args.cmake_args = input()
args.cmake_args = [f"-{arg}" for arg in args.cmake_args.split(" ")]
if args.cmake_args.strip() != "":
args.cmake_args = [f"-{arg}" for arg in args.cmake_args.split(" ")]
args.no_params = not input_with_check(
"Download DNN weights (recommended)? [y/n]: ", parse_yn, "Please enter y or n"
......
......@@ -14,7 +14,7 @@ benchmarks_srcdir = Path(__file__).parent / "../hpvm-c/benchmarks"
# So we know where the benchmark binaries are due to source directory structure,
# and this is not hardcoding.
dnn = argv[1]
bench_bin_file = benchmarks_bindir / dnn
bench_bin_file = benchmarks_bindir / f"hpvm_{dnn}"
config_file = benchmarks_srcdir / dnn / "data/tuner_confs.txt"
out_config_file = f"./{dnn}.txt"
profile_configs(bench_bin_file, config_file, out_config_file)
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