Matt Sinclair has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/50952 )

Change subject: tests: add LULESH to weekly regression
......................................................................

tests: add LULESH to weekly regression

LULESH is a popular GPU HPC application that acts as a good test
for several memory and compute patterns.  Thus, including it in
the weekly regressions will help verify correctness and
functionality for code that affects the GPU.  The default LULESH
input runs 10 iterations and takes 3-4 hours.  Hence, it is not
appropriate for nightly regressions.

Change-Id: Ic1b73ab32fdd5cb1b973f2676b272adb91b2a98e
---
M tests/weekly.sh
1 file changed, 16 insertions(+), 0 deletions(-)



diff --git a/tests/weekly.sh b/tests/weekly.sh
index 393c66f..d837940 100755
--- a/tests/weekly.sh
+++ b/tests/weekly.sh
@@ -43,3 +43,19 @@
 docker run -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
"${gem5_root}"/tests --rm gcr.io/gem5-test/ubuntu-20.04_all-dependencies \
         ./main.py run --length very-long -j${threads} -t${threads}
+
+# For the GPU tests we compile and run GCN3_X86 inside a gcn-gpu container.
+docker pull gcr.io/gem5-test/gcn-gpu:latest
+docker run --rm -u $UID:$GUID --volume "${gem5_root}":"${gem5_root}" -w \
+    "${gem5_root}" gcr.io/gem5-test/gcn-gpu:latest bash -c \
+    "scons build/GCN3_X86/gem5.opt -j${threads} \
+        || (rm -rf build && scons build/GCN3_X86/gem5.opt -j${threads})"
+
+# get LULESH
+wget -qN http://dist.gem5.org/dist/v21-1/test-progs/lulesh/lulesh
+
+mkdir -p tests/testing-results
+
+# LULESH is heavily used in the HPC community on GPUs, and does a good job of
+# stressing several GPU compute and memory components
+docker run --rm -v ${PWD}:${PWD} -w ${PWD} -u $UID:$GID gcr.io/gem5-test/gcn-gpu gem5/build/GCN3_X86/gem5.opt gem5/configs/example/apu_se.py -n3 --mem-size=8GB --benchmark-root=gem5-resources/src/gpu/lulesh/bin -clulesh

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/50952
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ic1b73ab32fdd5cb1b973f2676b272adb91b2a98e
Gerrit-Change-Number: 50952
Gerrit-PatchSet: 1
Gerrit-Owner: Matt Sinclair <mattdsincl...@gmail.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to