A Framework for Enhancing Data Reuse via Associative Reordering

Kevin Stock, Martin Kong, Tobias Grosser, Louis-Noël Pouchet, Fabrice Rastello, J. Ramanujam, P. Sadayappan

Research output: Contribution to journalArticlepeer-review

Abstract / Description of output

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.
Original languageEnglish
Pages (from-to)65-76
Number of pages12
JournalACM Sigplan Notices
Volume49
Issue number6
DOIs
Publication statusPublished - 9 Jun 2014
Event35th annual ACM SIGPLAN conference on Programming Language Design and Implementation - Edinburgh, United Kingdom
Duration: 9 Jun 201411 Jun 2014
http://conferences.inf.ed.ac.uk/pldi2014/

Fingerprint

Dive into the research topics of 'A Framework for Enhancing Data Reuse via Associative Reordering'. Together they form a unique fingerprint.

Cite this