configs: Set CPU vendor to M5 Simulator in apu_se.py

Other vendor strings causes, for some reason, bad addresses to be
computed when running the GPU model. This change reverts back to M5
Simulator only for apu_se.py.

Change-Id: I5992b4e31569f5c0e5e49e523908c8fa0602f845
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/66171
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bobby Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby Bruce <bbruce@ucdavis.edu>
This commit is contained in:
Matthew Poremba
2022-11-23 14:20:14 -08:00
committed by Bobby Bruce
parent ee9e07474b
commit ea3f13ff3b

View File

@@ -740,6 +740,11 @@ if fast_forward:
(cpu_list[i], future_cpu_list[i]) for i in range(args.num_cpus)
]
# Other CPU strings cause bad addresses in ROCm. Revert back to M5 Simulator.
for (i, cpu) in enumerate(cpu_list):
for j in range(len(cpu)):
cpu.isa[j].vendor_string = "M5 Simulator"
# Full list of processing cores in the system.
cpu_list = cpu_list + [shader] + cp_list