Closed K16DIABLO closed 2 years ago
My guess is that you need to set -gem-forge-roi-function={func_name}
to tell the compiler to try to recognize streams in that function. Can you try that?
It works! The scheduling chunk of OpenMP hinders compiler to recognize streams. BTW, I have one more question about simulation result. Why there are two simulation results in stats.txt file? I'm not used to gem5, so I'm confused which is the right simulation result.
Just use the first section of simulation results. This is the result when the program hit ROI_END
and gem5 dumps it. The second section is the final result that gem5 dumps at the end of simulation. So:
Thank you!
Hello,
I want to run a simulation (e.g. vec_add) on your implementation. However, it seems that the framework cannot recognize the stream in this code as there is no numLoadElementsAllocated and numStoreElementsAllocated in simulation results. Below is the code and my question is, how can I make arrays (A, B, and C) as streams?
Thank you for your attention and I'm looking forward to your reply.