configs: Use higher dmesg level for GPUFS
The dmesg level is currently set to 3 which will not display errors if the amdgpu driver fails to load. Changing to level 8 will show errors in the gem5 terminal and is not too spammy. This will help GPUFS developers with bug reports since we would actually be able to observe an error. Currently if the driver fails to load, there is no way to detect it and applications will attempt to run, usually failing on getting device properties. Change-Id: I56b9581c1a12a8ce329066d18d6a072d006c096d Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/69977 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com> Maintainer: Matt Sinclair <mattdsinclair@gmail.com>
This commit is contained in:
@@ -42,7 +42,7 @@ from ruby import Ruby
|
||||
cookbook_runscript = """\
|
||||
export LD_LIBRARY_PATH=/opt/rocm/lib:$LD_LIBRARY_PATH
|
||||
export HSA_ENABLE_INTERRUPT=0
|
||||
dmesg -n3
|
||||
dmesg -n8
|
||||
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."
|
||||
|
||||
@@ -43,7 +43,7 @@ from ruby import Ruby
|
||||
rodinia_runscript = """\
|
||||
export LD_LIBRARY_PATH=/opt/rocm/lib:$LD_LIBRARY_PATH
|
||||
export HSA_ENABLE_INTERRUPT=0
|
||||
dmesg -n3
|
||||
dmesg -n8
|
||||
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."
|
||||
|
||||
@@ -42,7 +42,7 @@ from ruby import Ruby
|
||||
samples_runscript = """\
|
||||
export LD_LIBRARY_PATH=/opt/rocm/lib:$LD_LIBRARY_PATH
|
||||
export HSA_ENABLE_INTERRUPT=0
|
||||
dmesg -n3
|
||||
dmesg -n8
|
||||
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."
|
||||
|
||||
@@ -44,7 +44,7 @@ from ruby import Ruby
|
||||
demo_runscript = """\
|
||||
export LD_LIBRARY_PATH=/opt/rocm/lib:$LD_LIBRARY_PATH
|
||||
export HSA_ENABLE_INTERRUPT=0
|
||||
dmesg -n3
|
||||
dmesg -n8
|
||||
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."
|
||||
|
||||
Reference in New Issue
Block a user