Matthew Poremba has uploaded this change for review. ( https://gem5-review.googlesource.com/c/public/gem5/+/59052 )

Change subject: configs: Make vega10_kvm.py runnable
......................................................................

configs: Make vega10_kvm.py runnable

The current script is echoing the command instead of running it (oops).
Also change the dmesg level to 3 to hide warnings from console output.
Level 8 should really only be used when debugging.

Change-Id: I90937ef13bf598cef1f58af69da1fdc9038d1e37
---
M configs/example/gpufs/vega10_kvm.py
1 file changed, 15 insertions(+), 2 deletions(-)



diff --git a/configs/example/gpufs/vega10_kvm.py b/configs/example/gpufs/vega10_kvm.py
index aa3dbb2..6d16819 100644
--- a/configs/example/gpufs/vega10_kvm.py
+++ b/configs/example/gpufs/vega10_kvm.py
@@ -47,7 +47,7 @@
 demo_runscript = '''\
 export LD_LIBRARY_PATH=/opt/rocm/lib:$LD_LIBRARY_PATH
 export HSA_ENABLE_SDMA=0
-dmesg -n8
+dmesg -n3
 dd if=/root/roms/vega10.rom of=/dev/mem bs=1k seek=768 count=128
 if [ ! -f /lib/modules/`uname -r`/updates/dkms/amdgpu.ko ]; then
     echo "ERROR: Missing DKMS package for kernel `uname -r`. Exiting gem5."
@@ -57,7 +57,7 @@
 echo "Running {} {}"
 echo "{}" | base64 -d > myapp
 chmod +x myapp
-echo ./myapp {}
+./myapp {}
 /sbin/m5 exit
 '''


--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/59052
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: I90937ef13bf598cef1f58af69da1fdc9038d1e37
Gerrit-Change-Number: 59052
Gerrit-PatchSet: 1
Gerrit-Owner: 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

Reply via email to