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:
@@ -89,8 +89,6 @@ thispath = os.path.dirname(os.path.realpath(__file__))
|
||||
binary = os.path.join(thispath, '../../../', 'tests/test-progs/threads/bin/',
|
||||
isa, 'linux/threads')
|
||||
|
||||
system.workload = SEWorkload()
|
||||
|
||||
# Create a process for a simple "multi-threaded" application
|
||||
process = Process()
|
||||
# Set the command
|
||||
@@ -101,6 +99,8 @@ for cpu in system.cpu:
|
||||
cpu.workload = process
|
||||
cpu.createThreads()
|
||||
|
||||
system.workload = SEWorkload.init_compatible(binary)
|
||||
|
||||
# Set up the pseudo file system for the threads function above
|
||||
config_filesystem(system)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user