[gem5-users] Re: SLICC - Help modify MemoryMsg

2020-09-01 Thread Sampad Mohapatra via gem5-users
To clarify, I have added a bool and setter and getter functions to message.hh|cc. And I was able to solve the problem by declaring the following in SLICC. structure(Message, external="yes") { void setFlag(bool); bool getFlag(); }

[gem5-users] Re: GCN3 docker file missing

2020-09-01 Thread Matt Sinclair via gem5-users
Hi Samaksh, The warnings you mentioned can be ignored. They are highlighting that the sched_yield syscall is not implemented in SE mode. Which is fine, it's not needed for correctly simulating this program on the GPU. I'm not quite sure what the other issue is though. It sounds like you are sa

[gem5-users] SLICC - Help modify MemoryMsg

2020-09-01 Thread Sampad Mohapatra via gem5-users
Hi All, I am trying to add a bool variable to MemoryMsg and set() and get() it in SLICC. But when I try to build gem5, I get the following errors. AttributeError: 'NoneType' object has no attribute 'methods': File "/i3c/hpcl/sum94/local/ROCM_SRC/gem5/SConstruct", line 1257: SConscript('src/

[gem5-users] Re: GCN3 docker file missing

2020-09-01 Thread Samaksh Sethi via gem5-users
That error was arising because when the makefile wasn't running properly I was trying out alternate methods on my own, but now I'm using the makefile again since the patch was pushed, but it's still not working. I myself don't know why I have to use make and make square both myself, but the only wa

[gem5-users] Re: GCN3 docker file missing

2020-09-01 Thread Matt Sinclair via gem5-users
This appears to be the same error Dan mentioned previously, where you are using gcc instead of hipcc. Did you try applying the fix he suggested there? Having said that, the first few lines appear to be making square already, so I'm not sure why you are trying to make it again? Matt On Tue, Sep

[gem5-users] Re: GCN3 docker file missing

2020-09-01 Thread Samaksh Sethi via gem5-users
Hi Matt, I had originally sent that message before the changes were implemented, so, now the "make" command seems to work (I'm not completely sure from the output) but "make square" is still stuck where it was before (As previously posted before at https://www.mail-archive.com/gem5-users@gem5.org/m