diff options
Diffstat (limited to 'configs/example/se.py')
-rw-r--r-- | configs/example/se.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/configs/example/se.py b/configs/example/se.py index 853947475..855c685c8 100644 --- a/configs/example/se.py +++ b/configs/example/se.py @@ -160,7 +160,10 @@ if options.fastmem and (options.caches or options.l2cache): fatal("You cannot use fastmem in combination with caches!") for i in xrange(np): - system.cpu[i].workload = multiprocesses[i] + if len(multiprocesses) == 1: + system.cpu[i].workload = multiprocesses[0] + else: + system.cpu[i].workload = multiprocesses[i] if options.fastmem: system.cpu[0].fastmem = True |