Extended Lattice-Based Memory Allocation - Archive ouverte HAL Access content directly
Conference Papers Year : 2016

Extended Lattice-Based Memory Allocation


This work extends lattice-based memory allocation, an earlier work on memory reuse through array contraction. Such an optimization is used for optimizing high-level programming languages where storage mapping may be abstracted away from programmers and to complement code transformations that introduce intermediate buffers. The main motivation for this extension is to improve the handling of more general forms of specifications we see today, e.g., with loop tiling, pipelining, and other forms of parallelism available in explicitly-parallel languages. Specifically, we handle the case when conflicting constraints (those that describe the array indices that cannot share the same location) are specified as a (non-convex) union of polyhedra. The choice of directions (or basis) of array reuse becomes important when dealing with non-convex specifications. We extend the two dual approaches in the original work to handle unions of polyhedra, and to select a suitable basis. Our final approach relies on a combination of the two, also revealing their links with, on one hand, the construction of multi-dimensional schedules for parallelism and tiling (but with a fundamental difference that we identify) and, on the other hand, the construction of universal reuse vectors (UOV), which was only used so far in a specific context, for schedule-independent mapping.
No file

Dates and versions

hal-01272969 , version 1 (11-02-2016)


  • HAL Id : hal-01272969 , version 1


Alain Darte, Alexandre Isoard, Tomofumi Yuki. Extended Lattice-Based Memory Allocation. 25th International Conference on Compiler Construction (CC'16), Mar 2016, Barcelona, Spain. ⟨hal-01272969⟩
131 View
0 Download


Gmail Mastodon Facebook X LinkedIn More