From f20d12656a61faa6f9a7a707993e6593fc8f69be Mon Sep 17 00:00:00 2001 From: Matthew Poremba Date: Thu, 25 Aug 2022 16:20:07 -0700 Subject: [PATCH] configs: Stop disabling SDMA in GPUFS config Support has been added for SDMA RLC queues which are used for host to device and device to host "memcpy" calls. Previously the SDMA engine was disabled which caused GPU BLIT kernels to be called. This removes the environment variable disabling SDMAs which has two main benefits: - It will be much easier to debug host/device transfer by using SDMA debug flag. - Simulation time is improved since we no longer need detailed GPU simulation to copy data and instead are doing a simple large DMA Change-Id: I7524245731d301b5c26394318f2156ed6b4c983a Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/62717 Reviewed-by: Matt Sinclair Tested-by: kokoro Maintainer: Matt Sinclair --- configs/example/gpufs/hip_cookbook.py | 1 - configs/example/gpufs/hip_rodinia.py | 1 - configs/example/gpufs/hip_samples.py | 1 - configs/example/gpufs/vega10_kvm.py | 1 - 4 files changed, 4 deletions(-) diff --git a/configs/example/gpufs/hip_cookbook.py b/configs/example/gpufs/hip_cookbook.py index 0cf5ca84b6..1c22be52da 100644 --- a/configs/example/gpufs/hip_cookbook.py +++ b/configs/example/gpufs/hip_cookbook.py @@ -41,7 +41,6 @@ from ruby import Ruby cookbook_runscript = """\ export LD_LIBRARY_PATH=/opt/rocm/lib:$LD_LIBRARY_PATH -export HSA_ENABLE_SDMA=0 export HSA_ENABLE_INTERRUPT=0 dmesg -n3 dd if=/root/roms/vega10.rom of=/dev/mem bs=1k seek=768 count=128 diff --git a/configs/example/gpufs/hip_rodinia.py b/configs/example/gpufs/hip_rodinia.py index f15ff93451..a6c7c504c1 100644 --- a/configs/example/gpufs/hip_rodinia.py +++ b/configs/example/gpufs/hip_rodinia.py @@ -42,7 +42,6 @@ from ruby import Ruby rodinia_runscript = """\ export LD_LIBRARY_PATH=/opt/rocm/lib:$LD_LIBRARY_PATH -export HSA_ENABLE_SDMA=0 export HSA_ENABLE_INTERRUPT=0 dmesg -n3 dd if=/root/roms/vega10.rom of=/dev/mem bs=1k seek=768 count=128 diff --git a/configs/example/gpufs/hip_samples.py b/configs/example/gpufs/hip_samples.py index cb7629b85e..0d9263e128 100644 --- a/configs/example/gpufs/hip_samples.py +++ b/configs/example/gpufs/hip_samples.py @@ -41,7 +41,6 @@ from ruby import Ruby samples_runscript = """\ export LD_LIBRARY_PATH=/opt/rocm/lib:$LD_LIBRARY_PATH -export HSA_ENABLE_SDMA=0 export HSA_ENABLE_INTERRUPT=0 dmesg -n3 dd if=/root/roms/vega10.rom of=/dev/mem bs=1k seek=768 count=128 diff --git a/configs/example/gpufs/vega10_kvm.py b/configs/example/gpufs/vega10_kvm.py index b6eadbbe2c..48e2d69516 100644 --- a/configs/example/gpufs/vega10_kvm.py +++ b/configs/example/gpufs/vega10_kvm.py @@ -43,7 +43,6 @@ from ruby import Ruby demo_runscript = """\ export LD_LIBRARY_PATH=/opt/rocm/lib:$LD_LIBRARY_PATH -export HSA_ENABLE_SDMA=0 export HSA_ENABLE_INTERRUPT=0 dmesg -n3 dd if=/root/roms/vega10.rom of=/dev/mem bs=1k seek=768 count=128