Jason
Jason
Hello Jason
I also have some confusion about this question. Now I use the MESI_Two_Level homogeneous protocol, cpu and gpu have the same cache controllers, so I add a parameter(cpu_gpu) to the controller(by modified the declaration in the MESI_Two_Level-L1cache.sm ) ,then through the configuration file(gem5-gpu/gem5/configs/ruby/MESI_Two_Level.py and gem5-gpu/gem5-gpu/configs/gpu_protocol/MESI_Two_Level_fusion.py), I set different values to this parameter,then I can distinguish gpu L1 or cpu l1 cache controller through the value. Then in MSI_Two_Level-msg.sm, I add one flag(C_G) in RequestMsg structure,so in the MSI_Two_Level-L1cache.sm,when it issue the GETS to L2,according to the value of the parameter(cpu_gpu), I set different value to the flag(out_msg.C_G),then in l2cache.sm in_port(), it can receive the in_msg.C_G. to jugdge cpu or gpu l1 cache, is it right? i don’t use the RubySequencer or RubyRequest, so I’m not sure what I did is right or wrong?
look forward your reply
thanks
Hi Jason,
That looks like you're getting the wrong data. This is surprising if you have access backing store on.
Jason
PS: sent from my phone. I'll have better access to email after Sept. 4th.
Hi, JasonI have some questions about running gem5-gpu.1) '--caches --l2cache' will use classic coherence model, '--Ruby' will use Ruby. Which will be used when the two flags are not appear in command line?
2) When I build gem5-gpu with MESI_Two_Level, command line does not contain '--Ruby'. Which coherence model will be used?
3) '--split' means CPU and GPU share one physical DRAM, the DRAM is divided into two regions one of which is allocated to GPU? Like NUMA.
4) '--access-host-pagetable' means CPU and GPU share one physical DRAM supporting unified virtual access? Like APU's hUMA.
Chen