configs: Updates for python3
Change-Id: Iab2f83716ea2cb19f06282f037314f2db843327a Signed-off-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/29047 Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
This commit is contained in:
committed by
Jason Lowe-Power
parent
23515fa723
commit
e2a510acef
@@ -101,7 +101,7 @@ class MeshDirCorners_XY(SimpleTopology):
|
||||
# NUMA Node for each quadrant
|
||||
# With odd columns or rows, the nodes will be unequal
|
||||
numa_nodes = [ [], [], [], []]
|
||||
for i in xrange(num_routers):
|
||||
for i in range(num_routers):
|
||||
if i % num_columns < num_columns / 2 and \
|
||||
i < num_routers / 2:
|
||||
numa_nodes[0].append(i)
|
||||
|
||||
@@ -176,6 +176,6 @@ class Mesh_XY(SimpleTopology):
|
||||
|
||||
# Register nodes with filesystem
|
||||
def registerTopology(self, options):
|
||||
for i in xrange(options.num_cpus):
|
||||
for i in range(options.num_cpus):
|
||||
FileSystemConfig.register_node([i],
|
||||
MemorySize(options.mem_size) / options.num_cpus, i)
|
||||
|
||||
Reference in New Issue
Block a user