cpu: Change thread assignents for heterogenous SMT
Review Request #2994 - Created July 30, 2015 and submitted
| Information | |
|---|---|
| Curtis Dunham | |
| gem5 | |
| default | |
| Reviewers | |
| Default | |
Trying to run an SE system with varying threads per core (SMT cores + Non-SMT cores) caused failures due to the CPU id assignment logic. The comment about thread assignment (worrying about core 0 not having tid 0) seems not to be valid given that our configuration scripts initialize them in order. This removes that constraint so a heterogenously threaded sytem can work.
Posted (Aug. 6, 2015, 6:56 a.m.)
-
src/sim/system.hh (Diff revision 1) -
Not sure I understand why this is needed, it seems one can already figure out if it is a multi-threaded system configured by checking numThreads.
