Clean up to work with recent python config changes.
configs/splash2/run.py: parent is now Parent. Need to explicitly instantiate classes. --HG-- extra : convert_revision : c260fad00ca82cb1032e73af2e5caa2ad013067d
This commit is contained in:
parent
609cacc3da
commit
ed743cb3b0
1 changed files with 4 additions and 4 deletions
|
@ -34,14 +34,14 @@ if 'SYSTEM' not in env:
|
|||
|
||||
if env['SYSTEM'] == 'Simple':
|
||||
from SimpleConfig import *
|
||||
BaseCPU.workload = parent.workload
|
||||
BaseCPU.workload = Parent.workload
|
||||
SimpleStandAlone.cpu = [ CPU() for i in xrange(int(env['NP'])) ]
|
||||
root = SimpleStandAlone
|
||||
root = SimpleStandAlone()
|
||||
elif env['SYSTEM'] == 'Detailed':
|
||||
from DetailedConfig import *
|
||||
BaseCPU.workload = parent.workload
|
||||
BaseCPU.workload = Parent.workload
|
||||
DetailedStandAlone.cpu = [ DetailedCPU() for i in xrange(int(env['NP'])) ]
|
||||
root = DetailedStandAlone
|
||||
root = DetailedStandAlone()
|
||||
else:
|
||||
panic("The SYSTEM environment variable was set to something improper.\n Use Simple or Detailed\n")
|
||||
|
||||
|
|
Loading…
Reference in a new issue