changeset aa32b0639ee2 in /z/repo/gem5
details: http://repo.gem5.org/gem5?cmd=changeset;node=aa32b0639ee2
description:
        regress: updates required for the compute-gpu patches

diffstat:

 tests/configs/rubytest-ruby.py |  15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r 452e10b868ea -r aa32b0639ee2 tests/configs/rubytest-ruby.py
--- a/tests/configs/rubytest-ruby.py    Mon Jul 20 09:15:18 2015 -0500
+++ b/tests/configs/rubytest-ruby.py    Fri Dec 11 16:07:01 2015 -0500
@@ -97,6 +97,8 @@
 
 assert(options.num_cpus == len(system.ruby._cpu_ports))
 
+tester.num_cpus = len(system.ruby._cpu_ports)
+
 #
 # The tester is most effective when randomization is turned on and
 # artifical delay is randomly inserted on messages
@@ -107,10 +109,15 @@
     #
     # Tie the ruby tester ports to the ruby cpu read and write ports
     #
-    if ruby_port.support_data_reqs:
-         tester.cpuDataPort = ruby_port.slave
-    if ruby_port.support_inst_reqs:
-         tester.cpuInstPort = ruby_port.slave
+    if ruby_port.support_data_reqs and ruby_port.support_inst_reqs:
+        tester.cpuInstDataPort = ruby_port.slave
+    elif ruby_port.support_data_reqs:
+        tester.cpuDataPort = ruby_port.slave
+    elif ruby_port.support_inst_reqs:
+        tester.cpuInstPort = ruby_port.slave
+
+    # Do not automatically retry stalled Ruby requests
+    ruby_port.no_retry_on_stall = True
 
     #
     # Tell the sequencer this is the ruby tester so that it
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to