[gem5-users] Re: Memory Addresses in Gem5

2020-08-15 Thread Ciro Santilli via gem5-users
On Sat, Aug 15, 2020 at 9:54 PM ABD ALRHMAN ABO ALKHEEL wrote: > > Hi Ciro, > > Could you tell me where can i find the file that does an ifetch for > AtomicsimpleCPU in gem5? > https://github.com/gem5/gem5/blob/fa70478413e4650d0058cbfe81fd5ce362101994/src/cpu/simple/atomic.cc#L673 up to sendFetc

[gem5-users] Re: Restoring from checkpoint in gem5 x86 FS

2020-08-15 Thread Ciro Santilli via gem5-users
On Sat, Aug 15, 2020 at 6:44 PM Chandrahas Tirumalasetty via gem5-users wrote: > > Hello, > I am trying to restore from a checkpoint (created with AtomicSimpleCPU) with > cpu-type DerivO3CPU in my gem5 setup. I have two questions mainly > > Is it allowed to create a checkpoint with AtomicSimpleC

[gem5-users] Re: Memory Addresses in Gem5

2020-08-15 Thread ABD ALRHMAN ABO ALKHEEL via gem5-users
Hi Ciro, Could you tell me where can i find the file that does an ifetch for AtomicsimpleCPU in gem5? Also, How to print the data from the packet (I assumed the loaded data is stored in the pkt). should I use pkt->getRaw() or pkt->getLE() or pkt->getBE() or pkt->setData() or pkt->writeData() T

[gem5-users] Restoring from checkpoint in gem5 x86 FS

2020-08-15 Thread Chandrahas Tirumalasetty via gem5-users
Hello, I am trying to restore from a checkpoint (created with AtomicSimpleCPU) with cpu-type DerivO3CPU in my gem5 setup. I have two questions mainly 1. Is it allowed to create a checkpoint with AtomicSimpleCPU and restore with DerivO3CPU?. 2. The mem_mode which is atomic when using Atom

[gem5-users] Re: gem5 aborted when increase mem-size in FS mode

2020-08-15 Thread syf1997--- via gem5-users
Hi Ciro, I debugged my program and found that it got stuck at 'for i,data in enumerate(dataloader)'. I did some research https://discuss.pytorch.org/t/dataloader-iteration-hang-up/12886. It said that the argument of Dataloader object --num_workers > 0 would specify how many python subprocesses