stdlib,configs: Adding a config to run GAPBS using stdlib.
This change adds a config file to execute GAPBS benchmarks using gem5 stdlib. It also adds a new test for the same. Signed-off-by: Kaustav Goswami <kggoswami@ucdavis.edu> Change-Id: I10326cace4e6fa160e02e479fb4443277af3966f Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/53023 Reviewed-by: Bobby Bruce <bbruce@ucdavis.edu> Maintainer: Bobby Bruce <bbruce@ucdavis.edu> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -137,3 +137,23 @@ if os.access("/dev/kvm", mode=os.R_OK | os.W_OK):
|
||||
length=constants.long_tag,
|
||||
)
|
||||
|
||||
if os.access("/dev/kvm", mode=os.R_OK | os.W_OK):
|
||||
# The x86-gapbs-benchmarks uses KVM cores, this test will therefore only
|
||||
# be run on systems that support KVM.
|
||||
gem5_verify_config(
|
||||
name="test-gem5-library-example-x86-gapbs-benchmarks",
|
||||
fixtures=(),
|
||||
verifiers=(),
|
||||
config=joinpath(
|
||||
config.base_dir,
|
||||
"configs",
|
||||
"example",
|
||||
"gem5_library",
|
||||
"x86-gapbs-benchmarks.py",
|
||||
),
|
||||
config_args=["--benchmark","bfs","--synthetic","1","--size","1"],
|
||||
valid_isas=(constants.x86_tag,),
|
||||
protocol="MESI_Two_Level",
|
||||
valid_hosts=constants.supported_hosts,
|
||||
length=constants.long_tag,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user