configs: GPUFS: Only use parallel eventqs for KVM
This is turned on by default with multiple CPUs in the GPUFS configs, which causes other CPU types (e.g., AtomicSimpleCPU) to assert. Only enable parallel event queues for KVM CPUs to avoid this issue. Change-Id: Ic8235437caf0150560e2b360a4544d82dfc26c36 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/71419 Maintainer: Matt Sinclair <mattdsinclair@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Matt Sinclair <mattdsinclair@gmail.com>
This commit is contained in:
@@ -162,7 +162,8 @@ def runGpuFSSystem(args):
|
||||
# GPUFS is primarily designed to use the X86 KVM CPU. This model needs to
|
||||
# use multiple event queues when more than one CPU is simulated. Force it
|
||||
# on if that is the case.
|
||||
args.host_parallel = True if args.num_cpus > 1 else False
|
||||
if ObjectList.is_kvm_cpu(ObjectList.cpu_list.get(args.cpu_type)):
|
||||
args.host_parallel = True if args.num_cpus > 1 else False
|
||||
|
||||
# These are used by the protocols. They should not be set by the user.
|
||||
n_cu = args.num_compute_units
|
||||
|
||||
Reference in New Issue
Block a user