Alex Dutu has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/53070 )
Change subject: configs: Set CPU vendor for GPUFS config
......................................................................
configs: Set CPU vendor for GPUFS config
A valid CPU vendor string (i.e., not "M5 Simulator") needs to be passed
to CPUID in order for Linux to create the sysfs files needed for ROCm's
Thunk interface to initialize properly. If these are no created
hipDeviceProperties and other basic GPU code APIs will error out.
Change-Id: I6e3f459162e4673860a8f0a88473e38d5d7be237
---
M configs/example/gpufs/system/system.py
1 file changed, 18 insertions(+), 0 deletions(-)
diff --git a/configs/example/gpufs/system/system.py
b/configs/example/gpufs/system/system.py
index a1596e4..7aee3b3 100644
--- a/configs/example/gpufs/system/system.py
+++ b/configs/example/gpufs/system/system.py
@@ -159,6 +159,10 @@
system.ruby._cpu_ports[i].connectCpuPorts(cpu)
+ for i in range(len(system.cpu)):
+ for j in range(len(system.cpu[i].isa)):
+ system.cpu[i].isa[j].vendor_string = "AuthenticAMD"
+
# The shader core will be whatever is after the CPU cores are
accounted for
shader_idx = args.num_cpus
system.cpu.append(shader)
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/53070
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: I6e3f459162e4673860a8f0a88473e38d5d7be237
Gerrit-Change-Number: 53070
Gerrit-PatchSet: 1
Gerrit-Owner: Alex Dutu <alexandru.d...@amd.com>
Gerrit-CC: Matthew Poremba <matthew.pore...@amd.com>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- gem5-dev@gem5.org
To unsubscribe send an email to gem5-dev-le...@gem5.org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s