From 698806b5560a5e734d1530d4082f610904ce883a Mon Sep 17 00:00:00 2001
From: Hashim Sharif <hsharif3@miranda.cs.illinois.edu>
Date: Thu, 1 Apr 2021 00:17:29 -0500
Subject: [PATCH] Fixing path to new HPVM binaries with hpvm_* prefix

---
 hpvm/test/dnn_benchmarks/profiling/test_hpvm_c_profiling.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hpvm/test/dnn_benchmarks/profiling/test_hpvm_c_profiling.py b/hpvm/test/dnn_benchmarks/profiling/test_hpvm_c_profiling.py
index 5f4a96740c..230fdf8b73 100755
--- a/hpvm/test/dnn_benchmarks/profiling/test_hpvm_c_profiling.py
+++ b/hpvm/test/dnn_benchmarks/profiling/test_hpvm_c_profiling.py
@@ -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)
-- 
GitLab