2 ms·
For my masters thesis I wrote a program that annotated C++ code, ran it, then collected the memory reference patterns and tried to reorder loops by doing image
by rwmj 13y ago
For my masters thesis I wrote a program that annotated C++ code, ran it, then collected the memory reference patterns and tried to reorder loops by doing image analysis (mainly Hough transforms) on the data.
To be honest it wasn't a very successful approach, so you can probably take this as being a path NOT to try.
I will attempt to find the thesis and update this comment with a link if I can find it ...