summaryrefslogtreecommitdiff
path: root/short-tests-cmake.sh
diff options
context:
space:
mode:
Diffstat (limited to 'short-tests-cmake.sh')
-rwxr-xr-xshort-tests-cmake.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/short-tests-cmake.sh b/short-tests-cmake.sh
index 23cf66c..c898ecd 100755
--- a/short-tests-cmake.sh
+++ b/short-tests-cmake.sh
@@ -13,6 +13,12 @@ if [ ! -n "$GPUAPPS_ROOT" ]; then
exit 1;
fi
+# Set default value for APP
+if [ ! -n "$APP" ]; then
+ APP=rodinia_2.0-ft
+fi
+echo "Running simulation for $APP with config $CONFIG"
+
git config --system --add safe.directory '*'
export PATH=$CUDA_INSTALL_PATH/bin:$PATH
@@ -23,5 +29,5 @@ cmake --install build
source setup
git clone https://github.com/accel-sim/accel-sim-framework.git
-./accel-sim-framework/util/job_launching/run_simulations.py -C $CONFIG -B rodinia_2.0-ft -N regress -l local
+./accel-sim-framework/util/job_launching/run_simulations.py -C $CONFIG -B $APP -N regress -l local
./accel-sim-framework/util/job_launching/monitor_func_test.py -v -N regress -j procman