Diamond Tiling for Periodic Stencil Loop Nests by Means of Transitive Closure-based Extraction of Overlapping Iteration Spaces

Stencil computations are a prevalent class of loop nests and a fundamental part of numerous scientific applications. The substantial parallelism potential enclosed in these loops has inspired extensive research into its efficient extraction, leading to the development of various tiling schemes that enable their concurrent and load-balanced execution, thereby maximizing the utilization of multiple processing units. Most of these techniques, however, are based on the affine transformations framework which limits the scope of optimization to loops constrained by uniform dependences. Therefore, only a handful of studies have addressed locality enhancement and parallelization of stencil computations over periodic domains, where boundary grid points on opposite edges are considered as neighbors. In this article, we show that an effective and load-balanced tiling scheme with the concurrent start property can also be derived based on the iteration space slicing framework, by first expanding the original hyperrectangular tiles to include all their dependence sources, and then iteratively extracting the areas of redundant computations, which are identified using the transitive closure of the data dependence graph. This approach, combined with the previously introduced tiles correction technique — used across spatial dimensions — extends the scope of applicability of the optimization to stencils with periodic boundary conditions and non-uniform dependences in general. Our experimental evaluation demonstrates that the proposed algorithm achieves comparable results as state-of-the-art techniques when applied to uniform loop nests, and offers visibly improved performance for stencils over periodic domains, achieving up to 3x speedup compared to related techniques.

Authors

Institutions

Publication Details

Journal
ACM Transactions on Architecture and Code Optimization
Published
2026-01-30
DOI
https://doi.org/10.1145/3795525
Primary Topic
Parallel Computing and Optimization Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Diamond Tiling for Periodic Stencil Loop Nests by Means of Transitive Closure-based Extraction of Overlapping Iteration Spaces

Piotr Skotnicki
ACM Transactions on Architecture and Code Optimization
Parallel Computing and Optimization Techniques
article

Diamond Tiling for Periodic Stencil Loop Nests by Means of Transitive Closure-based Extraction of Overlapping Iteration Spaces

Piotr Skotnicki
article en

Abstract

Stencil computations are a prevalent class of loop nests and a fundamental part of numerous scientific applications. The substantial parallelism potential enclosed in these loops has inspired extensive research into its efficient extraction, leading to the development of various tiling schemes that enable their concurrent and load-balanced execution, thereby maximizing the utilization of multiple processing units. Most of these techniques, however, are based on the affine transformations framework which limits the scope of optimization to loops constrained by uniform dependences. Therefore, only a handful of studies have addressed locality enhancement and parallelization of stencil computations over periodic domains, where boundary grid points on opposite edges are considered as neighbors. In this article, we show that an effective and load-balanced tiling scheme with the concurrent start property can also be derived based on the iteration space slicing framework, by first expanding the original hyperrectangular tiles to include all their dependence sources, and then iteratively extracting the areas of redundant computations, which are identified using the transitive closure of the data dependence graph. This approach, combined with the previously introduced tiles correction technique — used across spatial dimensions — extends the scope of applicability of the optimization to stencils with periodic boundary conditions and non-uniform dependences in general. Our experimental evaluation demonstrates that the proposed algorithm achieves comparable results as state-of-the-art techniques when applied to uniform loop nests, and offers visibly improved performance for stencils over periodic domains, achieving up to 3x speedup compared to related techniques.

ACM Transactions on Architecture and Code OptimizationVol. 23(1)
West Pomeranian University of Technology in Szczecin (PL)
Openalex Percentile: Top 81%
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.