[gem5-users] Re: Running pthread in gem5 se mode

2021-10-04 Thread VIPIN PATEL via gem5-users
Hi Krishan, I also faced a similar issue while executing the pthread program in SE mode. It seems the number of core should be equal to the maximum number of core you are trying to execute. For example: If you are launching 4 thread with pthread_create, the number of cores should be at least 5 (4

[gem5-users] Re: Running pthread in gem5 se mode

2021-10-04 Thread RTL Insn via gem5-users
The Gem5 SE mode is bare-metal fashion to run standard applications in absence of any OS. If we want to run a program in parallel, using POSIX thread or OpenMP, it is not possible to execute parallel-applications in bare-metal SE MODE. On Mon, Oct 4, 2021 at 4:15 PM VIPIN PATEL via gem5-users < ge

[gem5-users] Re: Pseudo Instruction - m5_reset_stats() - Body Modification

2021-10-04 Thread Jason Lowe-Power via gem5-users
Hi Sampad, Here is where m5_reset_stats is implemented in the simulator: https://gem5.googlesource.com/public/gem5/+/refs/heads/stable/src/sim/pseudo_inst.cc#303 There are a large number of steps between when the guest code calls m5_reset_stats and when the above function executes, but this shoul

[gem5-users] Re: [QUAR] Re: Porting an ARM config file from gem5 v20.0 to v21.1.0.0: Segmentation fault

2021-10-04 Thread ghandour.aub--- via gem5-users
Hi Eliot, I am having the same error. 1. I moved from gcc-9 t gcc-11 and the error still exists. So I am not sure if it is really gcc related! 2. I printed the eventqDump() and I am trying to figure out if this can help debug the error. 3. I run gem5 using valgrind and also trying to figure ou

[gem5-users] Re: Full-system discrete GPU simulation

2021-10-04 Thread Poremba, Matthew via gem5-users
[AMD Official Use Only] Hi Imad, Yes, you should be able to run DGPU in SE mode with gfx803 on the stable branch. On develop, gfx900 is also a dgpu option if you build VEGA_X86. -Matt From: Imad Al Assir Sent: Friday, October 1, 2021 4:47 PM To: Poremba, Matthew ; gem5 users mailing list

[gem5-users] Re: [QUAR] Re: Porting an ARM config file from gem5 v20.0 to v21.1.0.0: Segmentation fault

2021-10-04 Thread Eliot Moss via gem5-users
On 10/4/2021 1:26 PM, Ali Ghandour via gem5-users wrote: Hi Eliot, I am having the same error. 1. I moved from gcc-9 t gcc-11 and the error still exists. So I am not sure if it is really gcc related! 2. I printed the eventqDump() and I am trying to figure out if this can help debug the error

[gem5-users] Segmentation fault when restoring checkpoint in with DerivO3CPU

2021-10-04 Thread Đức Anh via gem5-users
Dear all, I am trying to use the checkpoint feature to skip the long and tired Linux booting part of the ARM FS simulation. However, Gem5 throws the Segmentation fault when I try to restore the checkpoint. It works fine with AtomicSimpleCPU, though. Here is the script I used to take the checkpoin

[gem5-users] Re: Segmentation fault when restoring checkpoint in with DerivO3CPU

2021-10-04 Thread Eliot Moss via gem5-users
On 10/4/2021 4:46 PM, Đức Anh via gem5-users wrote: Dear all, I am trying to use the checkpoint feature to skip the long and tired Linux booting part of the ARM FS simulation. However, Gem5 throws the Segmentation fault when I try to restore the checkpoint. It works fine with AtomicSimpleCPU,