A matrix-based approach to the global locality optimization problem

Mahmut Kandemir, A. Choudhary, J. Ramanujam, P. Banerjee

Research output: Chapter in Book/Report/Conference proceedingConference contribution

27 Scopus citations

Abstract

Global locality analysis is a technique for improving the cache performance of a sequence of loop nests through a combination of loop and data layout optimizations. Pure loop transformations are restricted by data dependences and may not be very successful in optimizing imperfectly nested loops; the impact of a data transformation on an array might be program-wide. Therefore, in this paper we argue for a combined approach which employs both loop and data transformations. The method enjoys the advantages of the most of the previous techniques for enhancing locality and is efficient. In our approach, the loop nests are processed one by one and the data layout constraints obtained from one nest are propagated for optimization of the remaining loop nests. We show that this process can be put in a simple matrix framework which can be manipulated by an optimizing compiler. The search space that we consider for possible loop transformations comprises general non-singular linear transformation matrices and the data layouts that we consider are those which can be expressed using hyperplanes. Experiments using several programs on an SGI Origin 2000 distributed-shared-memory machine demonstrate the efficacy of our approach.

Original languageEnglish (US)
Title of host publicationProceedings - 1998 International Conference on Parallel Architectures and Compilation Techniques, PACT 1998
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages306-313
Number of pages8
ISBN (Electronic)0818685913
DOIs
StatePublished - Jan 1 1998
Event1998 International Conference on Parallel Architectures and Compilation Techniques, PACT 1998 - Paris, France
Duration: Oct 12 1998Oct 18 1998

Publication series

NameParallel Architectures and Compilation Techniques - Conference Proceedings, PACT
ISSN (Print)1089-795X

Other

Other1998 International Conference on Parallel Architectures and Compilation Techniques, PACT 1998
CountryFrance
CityParis
Period10/12/9810/18/98

All Science Journal Classification (ASJC) codes

  • Software
  • Theoretical Computer Science
  • Hardware and Architecture

Fingerprint Dive into the research topics of 'A matrix-based approach to the global locality optimization problem'. Together they form a unique fingerprint.

  • Cite this

    Kandemir, M., Choudhary, A., Ramanujam, J., & Banerjee, P. (1998). A matrix-based approach to the global locality optimization problem. In Proceedings - 1998 International Conference on Parallel Architectures and Compilation Techniques, PACT 1998 (pp. 306-313). (Parallel Architectures and Compilation Techniques - Conference Proceedings, PACT). Institute of Electrical and Electronics Engineers Inc.. https://doi.org/10.1109/PACT.1998.727266