Affiliation:
1. Indian Institute of Science, Bangalore, India
2. INRIA, Paris, France
Abstract
Efficient memory allocation is crucial for data-intensive applications, as a smaller memory footprint ensures better cache performance and allows one to run a larger problem size given a fixed amount of main memory. In this article, we describe a new automatic storage optimization technique to minimize the dimensionality and storage requirements of arrays used in sequences of loop nests with a predetermined schedule. We formulate the problem of intra-array storage optimization as one of finding the right storage partitioning hyperplanes: each storage partition corresponds to a single storage location. Our heuristic is driven by a dual-objective function that minimizes both the dimensionality of the mapping and the extents along those dimensions. The technique is dimension optimal for most codes encountered in practice. The storage requirements of the mappings obtained also are asymptotically better than those obtained by any existing schedule-dependent technique. Storage reduction factors and other results that we report from an implementation of our technique demonstrate its effectiveness on several real-world examples drawn from the domains of image processing, stencil computations, high-performance computing, and the class of tiled codes in general.
Publisher
Association for Computing Machinery (ACM)
Reference28 articles.
1. Scheduling Tasks to Maximize Usage of Aggregate Variables in Place
2. Christophe Alias. 2007. Bee+Cl@k. Available at http://compsys-tools.ens-lyon.fr/. Christophe Alias. 2007. Bee+Cl@k. Available at http://compsys-tools.ens-lyon.fr/.
3. Bee+Cl@k
Cited by
4 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Lightweight Array Contraction by Trace-Based Polyhedral Analysis;Lecture Notes in Computer Science;2022
2. Polyhedral Compilation for Multi-dimensional Stream Processing;ACM Transactions on Architecture and Code Optimization;2019-09-30
3. DeLICM: scalar dependence removal at zero memory cost;Proceedings of the 2018 International Symposium on Code Generation and Optimization - CGO 2018;2018
4. SMO: an integrated approach to intra-array and inter-array storage optimization;Proceedings of the 43rd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages;2016-01-11