From b2812cbfbdcec301d6a0f9ea2e0cf1252080988f Mon Sep 17 00:00:00 2001
From: Yifan Zhao <yifanz16@illinois.edu>
Date: Mon, 1 Feb 2021 17:23:47 -0600
Subject: [PATCH] Fixed a bug in MODEL_PARAMS_DIR generated in config.h

---
 hpvm/test/dnn_benchmarks/hpvm-c/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hpvm/test/dnn_benchmarks/hpvm-c/CMakeLists.txt b/hpvm/test/dnn_benchmarks/hpvm-c/CMakeLists.txt
index 77e4119c57..436c88790c 100644
--- a/hpvm/test/dnn_benchmarks/hpvm-c/CMakeLists.txt
+++ b/hpvm/test/dnn_benchmarks/hpvm-c/CMakeLists.txt
@@ -11,7 +11,7 @@ set(CMAKE_CXX_COMPILER "${LLVM_BIN_DIR}/clang++")
 # Configure config.h which tells the benchmarks where's the build directory.
 # We can also use the one in tensor_runtime, but we're avoiding that trying to 
 # decouple things.
-set(MODEL_PARAMS_DIR "${CMAKE_CURRENT_SOURCE_DIR}/model_params/")
+set(MODEL_PARAMS_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../model_params/")
 configure_file(
   "include/config.h.in"
   "${CMAKE_CURRENT_BINARY_DIR}/include/config.h"
-- 
GitLab