From 756c0ff9f85f02f4c14aaab9a737bba7c7e4e8fd Mon Sep 17 00:00:00 2001
From: Yifan Zhao <yifanz16@illinois.edu>
Date: Mon, 1 Feb 2021 20:41:22 -0600
Subject: [PATCH] Also added individual run_* targets back

---
 hpvm/test/dnn_benchmarks/hpvm-c/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/CMakeLists.txt b/hpvm/test/dnn_benchmarks/hpvm-c/CMakeLists.txt
index 4d38998191..ab03bdeed6 100644
--- a/hpvm/test/dnn_benchmarks/hpvm-c/CMakeLists.txt
+++ b/hpvm/test/dnn_benchmarks/hpvm-c/CMakeLists.txt
@@ -46,8 +46,12 @@ foreach(dir ${entries})
     --quant-file ${dir}/data/quant_ranges_rt.txt
     --conf-file ${dir}/data/tuner_confs.txt
   )
+  # Run tensor binary
+  run_single_benchmark(run_${dirname} ${dirname})
   # Generate "cudnn"-targeted code
   approxhpvm_py_codegen(${dirname}_cudnn ${dir}/${dirname}_cudnn.cpp cudnn)
+  # Run cudnn binary
+  run_single_benchmark(run_${dirname}_cudnn ${dirname}_cudnn)
 endforeach(dir)
 
 message(STATUS "List of test dnn benchmarks: ${test_compile_targets}")
-- 
GitLab