[gem5-users] Packet::MemCmd Class

2021-06-30 Thread Samuel Thomas via gem5-users
Hello all, I am running into issues where I am trying to create packets to perform writes in my system that originate outside the CPU. Without knowledge of which MemCmds do what, I naïvely declared them as WriteReqs, but there seem to be response packets that make it back to the CPU which cause

[gem5-users] Re: Packet::MemCmd Class

2021-06-30 Thread Nikos Nikoleris via gem5-users
Hi Samuel, If you're using the classic memory system, the easiest option is to add a tiny cache between the SimObject that issues the writes and the rest of the memory system. Then your SimObject can issue simple WriteReqs and the cache will take care of the rest. Otherwise, you will have to imp

[gem5-users] gem5 + GPU support?

2021-06-30 Thread adrian via gem5-users
Hi, I am interested in simulating a GPU in gem5. Just by googling I discovered a repo from 2017 but I've also seen gem5 v21 has some files regarding to the GPU. Could you please confirm gem5 v21 supports a GPU model? There is not much info about it on internet. How can this GPU model be used? M

[gem5-users] Where does system.cpu (from se.py/fe.py scripts) exist in gem5?

2021-06-30 Thread Balls Mahoney via gem5-users
I would like to create a system wide std::vector to be able to perform operations on all CPUs at once. I was wondering where system.cpu gets stored, because in System.py there is no "cpu" parameter defined, and if I try to initialize it to capture the CPUs creating in se.py or fs.py, I get a cycle

[gem5-users] Re: gem5 + GPU support?

2021-06-30 Thread Jason Lowe-Power via gem5-users
Hi Adrian, gem5 has support for AMD's GCN3 (compute) GPU in SE mode, and we're working on merging both Vega support (AMD's newer GPU ISA) and full system support. The status of these new features can be followed on Jira. Here's documentation on the current GPU support: http://www.gem5.org/documen

[gem5-users] Re: gem5 + GPU support?

2021-06-30 Thread adrian via gem5-users
Hi Jason, Thanks a lot for this useful information. Is it possible to have several CPUs + several GPUs running in parallel? I'm using Arm as the CPU's ISA. I don't know how this GPU ISA deals with other ISAs. Sincerely, Adrián ___ gem5-users mailing li

[gem5-users] Re: gem5 + GPU support?

2021-06-30 Thread Jason Lowe-Power via gem5-users
Hi Adrian, The AMD GPU model has never been tested with Arm. I doubt the ROCm stack will compile/work with any ISA other than x86, unfortunately. For multi-GPU support see http://www.gem5.org/2020/05/30/enabling-multi-gpu.html Of course, multiple CPUs will work with no problem with or without GP

[gem5-users] Re: Where does system.cpu (from se.py/fe.py scripts) exist in gem5?

2021-06-30 Thread Gabriel Busnot via gem5-users
Hi Balls, You can use SimObject::find for that purpose. You can get the name of SimObjects from m5out/config.ini. You could also implement a search-by-type template method that returns a vector of matching SimObjects. Something like: static template std::vector findSimObjects() { std::vect

[gem5-users] Re: Where does system.cpu (from se.py/fe.py scripts) exist in gem5?

2021-06-30 Thread Gabriel Busnot via gem5-users
My bad, static goes before the return type. Gabriel ___ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s