configs,tests: Update configs to use compatible SE workloads.
If there's no more compatible workload than the base SEWorkload class it will fall back to that for now. Change-Id: Id27172c3074a7976823a891878ab9eecf6246c47 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/33901 Reviewed-by: Matthew Poremba <matthew.poremba@amd.com> Maintainer: Gabe Black <gabeblack@google.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -216,8 +216,6 @@ system.clock = '1GHz'
|
||||
system.toL2bus = L2XBar(clock = busFrequency)
|
||||
system.l2 = L2(size = options.l2size, assoc = 8)
|
||||
|
||||
system.workload = SEWorkload()
|
||||
|
||||
# ----------------------
|
||||
# Connect the L2 cache and memory together
|
||||
# ----------------------
|
||||
@@ -284,6 +282,8 @@ for cluster in clusters:
|
||||
for cpu in cluster.cpus:
|
||||
cpu.workload = root.workload
|
||||
|
||||
system.workload = SEWorkload.init_compatible(root.workload.executable)
|
||||
|
||||
# ----------------------
|
||||
# Run the simulation
|
||||
# ----------------------
|
||||
|
||||
@@ -195,8 +195,7 @@ else:
|
||||
# Create a system, and add system wide objects
|
||||
# ----------------------
|
||||
system = System(cpu = cpus, physmem = SimpleMemory(),
|
||||
membus = SystemXBar(clock = busFrequency),
|
||||
workload = SEWorkload())
|
||||
membus = SystemXBar(clock = busFrequency))
|
||||
system.clock = '1GHz'
|
||||
|
||||
system.toL2bus = L2XBar(clock = busFrequency)
|
||||
@@ -268,6 +267,8 @@ else:
|
||||
for cpu in cpus:
|
||||
cpu.workload = root.workload
|
||||
|
||||
system.workload = SEWorkload.init_compatible(root.workload.executable)
|
||||
|
||||
# ----------------------
|
||||
# Run the simulation
|
||||
# ----------------------
|
||||
|
||||
Reference in New Issue
Block a user