Reference Distance as a Metric for Data Locality

  • Authors:
  • Changwoo Pyo;Kyung-Woo Lee;Hye-Kyung Han;Gyungho Lee

  • Affiliations:
  • -;-;-;-

  • Venue:
  • HPC-ASIA '97 Proceedings of the High-Performance Computing on the Information Superhighway, HPC-Asia '97
  • Year:
  • 1997

Quantified Score

Hi-index 0.00

Visualization

Abstract

We propose reference distance as a metric for data locality. Reference distance is the number of referenced memory blocks between two successive references to the same memory block. Effectiveness of program transformations for data locality can be evaluated by using reference distance. Our claim is demonstrated by showing the change in data locality and speedup of matrix multiplication due to loop interchange, loop tiling, and loop unrolling. We also present a result of an experiment using loop distribution and unrolling with respect to two subroutines of Perfect benchmark programs. Reference distance would serve as a useful tool for developing program transformation scheme for data locality optimization.