diff --git a/tests/weekly.sh b/tests/weekly.sh index 393c66face..b697c2941e 100755 --- a/tests/weekly.sh +++ b/tests/weekly.sh @@ -43,3 +43,19 @@ fi 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/develop/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