[gem5-users] Re: GPU virtual memory system

2021-11-08 Thread Imad Al Assir via gem5-users
As a follow-up on this, I saw that in the config.dot and config.ini files generated in the m5out folder, there is only 1 memory controller in the case of dGPU but different memory pools for the CPU and dGPU. In that case, what is the real difference between APU and dGPU? Usually, host-to-device (

[gem5-users] Re: Using ruby_random_test for CHI protocol

2021-11-08 Thread Gabriel Busnot via gem5-users
Hi, You basically have an address map or controller hierarchy specification issue. CHI uses a different address to machineID mapping scheme than previous protocols. CHI adds the concept of "downstream machine" in the sense of "downstream in the memory hierarchy". When calling AbstractControlle

[gem5-users] Re: Expose C++ enum in SLICC

2021-11-08 Thread Gabriel Busnot via gem5-users
Hi Sampad, I don't think that you can import C++ enums in SLICC in a general and sage way. SLICC does not support "external enums" so any enum declared in SLICC will result in a C++ enum being generated under the gem5::ruby namespace. One way of safely using external enums (any namespace, scope

[gem5-users] Re: Expose C++ enum in SLICC

2021-11-08 Thread Sampad Mohapatra via gem5-users
Hi Gabriel, Thanks for the detailed information. My enum is small, so I think this will work just fine. Regards, Sampad On Mon, Nov 8, 2021 at 6:43 AM Gabriel Busnot via gem5-users < gem5-users@gem5.org> wrote: > Hi Sampad, > > I don't think that you can import C++ enums in SLICC in a general a

[gem5-users] Problem with prefetcher in config file

2021-11-08 Thread Gelin Fu via gem5-users
Hello all, The version of gem5 I am using is 21.1.0.2. I found that when I initiate a new prefetcher for cache in the CPU model, the prefetcher cannot connect to the cache. And the attribute "prefetcher" of the cache object is still NULL. For example, I use the O3_ARM_v7a_3 CPU model to run SE s