Matthew Poremba has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/35855 )

Change subject: configs: Make GPU_VIPER config python3 friendly
......................................................................

configs: Make GPU_VIPER config python3 friendly

There is no xrange in python3. This will be required when eventually
20.2 is released.

Change-Id: I3a0da6353b70e6e17ce1f77d6177d48059e32487
---
M configs/ruby/GPU_VIPER.py
1 file changed, 2 insertions(+), 2 deletions(-)



diff --git a/configs/ruby/GPU_VIPER.py b/configs/ruby/GPU_VIPER.py
index 6a6dec5..6a5e416 100644
--- a/configs/ruby/GPU_VIPER.py
+++ b/configs/ruby/GPU_VIPER.py
@@ -661,7 +661,7 @@
         # SQC also in GPU cluster
         gpuCluster.add(sqc_cntrl)

-    for i in xrange(options.num_scalar_cache):
+    for i in range(options.num_scalar_cache):
         scalar_cntrl = SQCCntrl(TCC_select_num_bits = TCC_bits)
         scalar_cntrl.create(options, ruby_system, system)

@@ -683,7 +683,7 @@

         gpuCluster.add(scalar_cntrl)

-    for i in xrange(options.num_cp):
+    for i in range(options.num_cp):

         tcp_ID = options.num_compute_units + i
         sqc_ID = options.num_sqc + i

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/35855
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: I3a0da6353b70e6e17ce1f77d6177d48059e32487
Gerrit-Change-Number: 35855
Gerrit-PatchSet: 1
Gerrit-Owner: Matthew Poremba <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s

Reply via email to