
doi: 10.1145/2845078
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.
Design, Performance, contraction, 006, School of Automation), array, storage mapping optimization, General Terms: Algorithms, memory optimization, D34 [Programming Languages]: Processors—Compilers, [INFO.INFO-PL] Computer Science [cs]/Programming Languages [cs.PL], tion, Computer Science & Automation (Formerly, polyhedral framework, ACM Reference Format:, Additional Key Words and Phrases: Compilers, Experimentation, optimiza-
Design, Performance, contraction, 006, School of Automation), array, storage mapping optimization, General Terms: Algorithms, memory optimization, D34 [Programming Languages]: Processors—Compilers, [INFO.INFO-PL] Computer Science [cs]/Programming Languages [cs.PL], tion, Computer Science & Automation (Formerly, polyhedral framework, ACM Reference Format:, Additional Key Words and Phrases: Compilers, Experimentation, optimiza-
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 4 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
