Abstract
This paper describes an algorithm to optimize cache locality in scientific codes on uniprocessor and multiprocessor machines. A distinctive characteristic of our algorithm is that it considers loop and data layout transformations in a unified framework. We illustrate through examples that our approach is very effective at reducing cache misses and tile-size sensitivity of blocked loop nests; and can optimize nests for which optimization techniques based on loop transformations alone are not successful. An important special case is the one in which data layouts of some arrays are fixed and cannot be changed. We show how our algorithm can handle this case, and demonstrate how it can be used to optimize multiple loop nests.
Original language | English (US) |
---|---|
Title of host publication | Proceedings of the International Conference on Supercomputing |
Publisher | ACM |
Pages | 269-276 |
Number of pages | 8 |
State | Published - 1997 |
Event | Proceedings of the 1997 International Conference on Supercomputing - Vienna, Austria Duration: Jul 7 1997 → Jul 11 1997 |
Other
Other | Proceedings of the 1997 International Conference on Supercomputing |
---|---|
City | Vienna, Austria |
Period | 7/7/97 → 7/11/97 |
All Science Journal Classification (ASJC) codes
- General Computer Science