This rule checks the amount of memory stalls for AI Engine tiles.
Reducing memory stalls can improve AI Engine performance. Time AI Engine was in a memory stall. This could be due to multiple reasons such as multiple memory accesses on the same bank in the same cycle, multiple kernels accessing multiple memories on the same bank, etc.
You can resolve the stall by examining access patterns using trace results and placing the memory on different banks, or using the Aiecompiler "BufferOptLevel" mapper option.
- Dispatch memories to different banks. (memories include system memory, RTP, window buffers, data memories.
- If memory banks are exhausted, do profile and trace to find better solution.
BufferOptLeveloption in aiecompiler to build the design.