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 <mattdsinclair@gmail.com> Maintainer: Matt Sinclair <mattdsinclair@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user