From 1dea025fccd71759189b67dc69070d87f00ebd2c Mon Sep 17 00:00:00 2001 From: Matthew Poremba Date: Sun, 13 Mar 2022 12:21:50 -0500 Subject: [PATCH] configs: Force GPUFS config to use KVM Change-Id: Ibca219df75bb2f2315297505a21b347e9dd26853 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/57532 Reviewed-by: Matt Sinclair Maintainer: Matt Sinclair Tested-by: kokoro --- configs/example/gpufs/system/system.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/configs/example/gpufs/system/system.py b/configs/example/gpufs/system/system.py index 762663068d..3eb8dbc403 100644 --- a/configs/example/gpufs/system/system.py +++ b/configs/example/gpufs/system/system.py @@ -82,12 +82,9 @@ def makeGpuFSSystem(args): system.shadow_rom_ranges = [AddrRange(0xc0000, size = Addr('128kB'))] # Create specified number of CPUs. GPUFS really only needs one. - system.cpu = [TestCPUClass(clk_domain=system.cpu_clk_domain, cpu_id=i) + system.cpu = [X86KvmCPU(clk_domain=system.cpu_clk_domain, cpu_id=i) for i in range(args.num_cpus)] - - if ObjectList.is_kvm_cpu(TestCPUClass) or \ - ObjectList.is_kvm_cpu(FutureClass): - system.kvm_vm = KvmVM() + system.kvm_vm = KvmVM() # Create AMDGPU and attach to southbridge shader = createGPU(system, args)