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

Change subject: tests, mem-ruby: add GPU Ruby random tester to nightly tests
......................................................................

tests, mem-ruby: add GPU Ruby random tester to nightly tests

This commit adds the GPU protocol random tester to the nightly tests.
The input has been sized to take around 30 seconds and provide good
coverage for the coherence protocol.

Change-Id: If789d9d15a16fbd95fd7b115ffbf10e45bbb45c4
---
M tests/nightly.sh
1 file changed, 26 insertions(+), 0 deletions(-)



diff --git a/tests/nightly.sh b/tests/nightly.sh
index e421d97..978e463 100755
--- a/tests/nightly.sh
+++ b/tests/nightly.sh
@@ -109,6 +109,19 @@
     "scons build/${gpu_isa}/gem5.opt -j${compile_threads} \
|| (rm -rf build && scons build/${gpu_isa}/gem5.opt -j${compile_threads})"

+# first run the GPU protocol random tester -- it should take about 30 seconds
+# to run and provides good coverage for the coherence protocol
+# Input choices (some are default and thus implicit):
+# - use small cache size to encourage races
+# - use small system size to encourage races since more requests per CU (and faster sim)
+# - use small address range to encourage more races
+# - use small episode length to encourage more races
+# - 50K tests runs in ~30 seconds with reasonably good coverage
+# - num-dmas = 0 because VIPER doesn't support partial cache line writes, which DMAs need
+docker run --rm -u $UID:$GID --volume "${gem5_root}":"${gem5_root}" -w \
+ "${gem5_root}" gcr.io/gem5-test/gcn-gpu:latest build/${gpu_isa}/gem5.opt \ + configs/example/ruby_gpu_random_test.py --test-length=50000 --num-dmas=0
+
 # get square
 wget -qN http://dist.gem5.org/dist/develop/test-progs/square/square


--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/57536
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: If789d9d15a16fbd95fd7b115ffbf10e45bbb45c4
Gerrit-Change-Number: 57536
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