Skip to Main content Skip to Navigation
Conference papers

SMO: An Integrated Approach to Intra-array and Inter-array Storage Optimization

Somashekaracharya Bhaskaracharya 1 Uday Bondhugula 1 Albert Cohen 2
2 Parkas - Parallélisme de Kahn Synchrone
DI-ENS - Département d'informatique de l'École normale supérieure, CNRS - Centre National de la Recherche Scientifique, Inria de Paris
Abstract : The polyhedral model provides an expressive intermediate representation that is convenient for the analysis and subsequent transformation of affine loop nests. Several heuristics exist for achieving complex program transformations in this model. However, there is also considerable scope to utilize this model to tackle the problem of automatic memory footprint optimization. In this paper, we present a new automatic storage optimization technique which can be used to achieve both intra-array as well as inter-array storage reuse with a predetermined schedule for the computation. Our approach works by finding statement-wise storage partitioning hyper-planes that partition a unified global array space so that values with overlapping live ranges are not mapped to the same partition. Our heuristic is driven by a fourfold objective function which not only minimizes the dimensionality and storage requirements of arrays required for each high-level statement, but also maximizes inter-statement storage reuse. The storage mappings obtained using our heuristic can be asymptotically better than those obtained by any existing technique. We implement our technique and demonstrate its practical impact by evaluating its effectiveness on several benchmarks chosen from the domains of image processing, stencil computations , and high-performance computing.
Document type :
Conference papers
Complete list of metadata
Contributor : Albert Cohen <>
Submitted on : Wednesday, January 4, 2017 - 12:05:01 AM
Last modification on : Tuesday, May 4, 2021 - 2:06:02 PM
Long-term archiving on: : Wednesday, April 5, 2017 - 1:15:57 PM


Files produced by the author(s)




Somashekaracharya Bhaskaracharya, Uday Bondhugula, Albert Cohen. SMO: An Integrated Approach to Intra-array and Inter-array Storage Optimization. POPL 2016 - ACM Symposium on Principles of Programming Languages, Jan 2016, Saint Petersburg, United States. pp.526-538, ⟨10.1145/2837614.2837636⟩. ⟨hal-01425888⟩



Record views


Files downloads