Hi Yuchen, As far as I know, it is not going to be possible to use this for other cpu models with small change/changes.
On Mon, Mar 2, 2020 at 2:04 AM YUCHEN ZHOU <yuchen_bub...@pku.edu.cn> wrote: > Thanks, Ayaz. So if it is possible to change some code to support other > CPU models? > > > Best regards, > > Yuchen > > > -----原始邮件----- > *发件人:*"Ayaz Akram" <yazak...@ucdavis.edu> > *发送时间:*2020-03-01 15:54:03 (星期日) > *收件人:* "gem5 users mailing list" <gem5-users@gem5.org> > *抄送:* m5-us...@m5sim.org > *主题:* Re: [gem5-users] Changing the "inParallelMode" > > Hi Yuchen, > > Parallel mode is currently only supported for kvm cpu model. > > -Ayaz > > On Feb 29, 2020, at 11:25 PM, YUCHEN ZHOU <yuchen_bub...@pku.edu.cn> > wrote: > > Hi all, > > > > Recently I tried to parallelize the gem5's simulation engine to run on > shared-memory multicore systems. I changed the value of "inParallelMode" > to "true" in eventq.cc which I thought could be used to change the > execution mode of gem5 and I changed the main.py, event.mainq = > event.getEventQueue(0)--> event.mainq = event.getEventQueue(1) in order > to generate two threads. Then I used gem5 to simultaneously two programs on > a multi-core system, then I got a "core dump”. And I found in > gem5/src/sim eventq_ impl:96 assert(!inParallelMode || this == > curEventQueue()) failed. > > Might I know if there is something wrong with the way I changed the mode > or the work about Parallelizing M5 is not fully completed? > > It would be appreciated if you could reply at your earliest convenience. > > > Thank you! > > > Best regards, > Yuchen Zhou > > > > > > > > > > > > > > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > _______________________________________________ > gem5-users mailing list > gem5-users@gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users