summaryrefslogtreecommitdiff
path: root/short-tests-cmake.sh
diff options
context:
space:
mode:
authorWilliamMTK <[email protected]>2025-07-04 15:11:15 -0400
committerGitHub <[email protected]>2025-07-04 19:11:15 +0000
commit67d8a3bee44c48ebe15bf5aeb072bf4cb4950228 (patch)
tree3af39d22d0e2938e5e93ffd1ab9e996773d25dd1 /short-tests-cmake.sh
parent22159f160cc9b775dcb9b95e80f71e6b5a925650 (diff)
Update ci (#119)
* update_ci: use test matrix * update_ci: add updated test script and better name * update_ci: use minimal image for accelsim test as well * update_ci: use github image for sst run * update_ci: revert main yaml
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