Bobby Bruce has submitted this change. (
https://gem5-review.googlesource.com/c/public/gem5/+/66171?usp=email )
Change subject: configs: Set CPU vendor to M5 Simulator in apu_se.py
......................................................................
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+kok...@google.com>
Reviewed-by: Bobby Bruce <bbr...@ucdavis.edu>
Maintainer: Bobby Bruce <bbr...@ucdavis.edu>
---
M configs/example/apu_se.py
1 file changed, 22 insertions(+), 0 deletions(-)
Approvals:
Bobby Bruce: Looks good to me, approved; Looks good to me, approved
kokoro: Regressions pass
diff --git a/configs/example/apu_se.py b/configs/example/apu_se.py
index b33daa5..acf527b 100644
--- a/configs/example/apu_se.py
+++ b/configs/example/apu_se.py
@@ -740,6 +740,11 @@
(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
--
To view, visit
https://gem5-review.googlesource.com/c/public/gem5/+/66171?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: release-staging-v22-1
Gerrit-Change-Id: I5992b4e31569f5c0e5e49e523908c8fa0602f845
Gerrit-Change-Number: 66171
Gerrit-PatchSet: 2
Gerrit-Owner: Bobby Bruce <bbr...@ucdavis.edu>
Gerrit-Reviewer: Bobby Bruce <bbr...@ucdavis.edu>
Gerrit-Reviewer: Jason Lowe-Power <ja...@lowepower.com>
Gerrit-Reviewer: kokoro <noreply+kok...@google.com>
Gerrit-CC: Matthew Poremba <matthew.pore...@amd.com>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org