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 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/50952 Maintainer: Matt Sinclair <mattdsinclair@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user