sarchlab / mgpusim

A highly-flexible GPU simulator for AMD GPUs.
MIT License
80 stars 13 forks source link

Relu emu slow #35

Closed yuhuibao closed 8 months ago

yuhuibao commented 8 months ago

Emulation for relu and pagerank ran very slow. I made changes in emu/computeunit.go to solve it. In handleWGCompleteEvent, instead of sending a WGCompletionMsg after every WG finishes, it waits until all WGs finish and then sends a EmuAllWGCompletionMsg. I modified dispatcher.go accordingly to deal with this new form of message.