Dissemin is shutting down on January 1st, 2025

Published in

Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation - PLDI '14

DOI: 10.1145/2594291.2594342

ACM SIGPLAN Notices, 6(49), p. 65-76

DOI: 10.1145/2666356.2594342

Links

Tools

Export citation

Search in Google Scholar

A Framework for Enhancing Data Reuse via Associative Reordering

This paper is available in a repository.
This paper is available in a repository.

Full text: Download

Green circle
Preprint: archiving allowed
Green circle
Postprint: archiving allowed
Red circle
Published version: archiving forbidden
Data provided by SHERPA/RoMEO

Abstract

The freedom to reorder computations involving associative operators has been widely recognized and exploited in designing parallel algorithms and to a more limited extent in optimizing compilers. In this paper, we develop a novel framework utilizing the associativity and commutativity of operations in regular loop computations to enhance register reuse. Stencils represent a particular class of important computations where the optimization framework can be applied to enhance performance. We show how stencil operations can be implemented to better exploit register reuse and reduce load/stores. We develop a multi-dimensional retiming formalism to characterize the space of valid implementations in conjunction with other program transformations. Experimental results demonstrate the effectiveness of the framework on a collection of high-order stencils.