Guiding Programmers to Higher Memory Performance
Nicklas Bo Jensen, Per Larsen, Razya Ladelsky, Ayal Zaks, Sven Karlsson · 2012
Modern compilers use complex optimizations. It is often a problem for programmers to understand how source code should be written to enable optimizations. Interactive tools which guide programmers to higher performance are very important. We have developed such a tool that helps programmers modify their code to allow for aggressive optimization. In this paper, we extend it to support high level memory optimizations such as matrix reorganization. We evaluate the tool using two benchmarks and four dierent compilers. We show that it can guide the programmer to 22.9% higher performance.