From c84b22d858655ae26d0edfcff4172925590ac2db Mon Sep 17 00:00:00 2001 From: Matt Sinclair Date: Sat, 2 Oct 2021 09:00:21 -0500 Subject: [PATCH] tests: fix square and HeteroSync nightly regression command Square and HeteroSync's pre-built binaries were downloaded into the tests folder in the nightly regression script, but the docker command running them assumed we were in GEM5_ROOT. This commit fixes this problem by specificying the benchmark root for the applications. Change-Id: I905c8bde7231bc708db01bff196fd85d99c7ceac Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/51247 Tested-by: kokoro Reviewed-by: Jason Lowe-Power Maintainer: Bobby R. Bruce --- tests/nightly.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/nightly.sh b/tests/nightly.sh index 6631bb0a46..89c70051a5 100755 --- a/tests/nightly.sh +++ b/tests/nightly.sh @@ -101,7 +101,7 @@ mkdir -p tests/testing-results # basic GPU functionality is working. docker run --rm -u $UID:$GUID --volume "${gem5_root}":"${gem5_root}" -w \ "${gem5_root}" gcr.io/gem5-test/gcn-gpu:latest build/GCN3_X86/gem5.opt \ - configs/example/apu_se.py -n3 -c square + configs/example/apu_se.py -n3 --benchmark-root="${gem5_root}/tests" -c square # get HeteroSync wget -qN http://dist.gem5.org/dist/develop/test-progs/heterosync/gcn3/allSyncPrims-1kernel @@ -112,8 +112,8 @@ wget -qN http://dist.gem5.org/dist/develop/test-progs/heterosync/gcn3/allSyncPri # atomics are tested. docker run --rm -u $UID:$GUID --volume "${gem5_root}":"${gem5_root}" -w \ "${gem5_root}" gcr.io/gem5-test/gcn-gpu:latest build/GCN3_X86/gem5.opt \ - configs/example/apu_se.py -n3 -callSyncPrims-1kernel \ - --options="sleepMutex 10 16 4" + configs/example/apu_se.py -n3 --benchmark-root="${gem5_root}/tests" \ + -c allSyncPrims-1kernel --options="sleepMutex 10 16 4" # run HeteroSync LFBarr -- similar setup to sleepMutex above -- 16 WGs # accessing unique data and then joining a lock-free barrier, 10 Ld/St per @@ -122,5 +122,5 @@ docker run --rm -u $UID:$GUID --volume "${gem5_root}":"${gem5_root}" -w \ # atomics are tested. docker run --rm -u $UID:$GUID --volume "${gem5_root}":"${gem5_root}" -w \ "${gem5_root}" gcr.io/gem5-test/gcn-gpu:latest build/GCN3_X86/gem5.opt \ - configs/example/apu_se.py -n3 -callSyncPrims-1kernel \ - --options="lfTreeBarrUniq 10 16 4" + configs/example/apu_se.py -n3 --benchmark-root="${gem5_root}/tests" \ + -c allSyncPrims-1kernel --options="lfTreeBarrUniq 10 16 4"