Lune

SC2021Top-tier venue

Reducing redundancy in data organization and arithmetic calculation for stencil computations

Kun Li, Liang Yuan, Yunquan Zhang, Yue Yue

Abstract

Stencil computation is one of the most important kernels in various scientific and engineering applications. A variety of work has focused on vectorization techniques, aiming at exploiting the in-core data parallelism. However, they either incur spatial data conflicts or hurt the data locality when integrated with tiling. In this paper, a novel spatial computation folding is devised to reduce the data reorganization overhead for vectorization and preserve the data locality for tiling in the data space simultaneously. We then propose an approach of temporal computation folding enhanced with shifts reusing, tessellate tiling, and semi-automatic code generation. It aims to further reduce the redundancy of arithmetic calculations and exploit the register reuse along the time dimension. Experimental results on the AVX2 and AVX-512 CPUs show that our approach obtains significant performance improvements compared with state-of-the-art techniques.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • FlashFFTStencil: Bridging Fast Fourier Transforms to Memory-Efficient Stencil Computations on Tensor Core Units cites ConvStencil: Transform Stencil Computation to Matrix Multiplication on Tensor Cores
  • FlashFFTStencil: Bridging Fast Fourier Transforms to Memory-Efficient Stencil Computations on Tensor Core Units cites LoRAStencil: Low-Rank Adaptation of Stencil Computation on Tensor Cores
  • Jigsaw: Toward Conflict-free Vectorized Stencil Computation by Tessellating Swizzled Registers cites ConvStencil: Transform Stencil Computation to Matrix Multiplication on Tensor Cores
  • Jigsaw: Toward Conflict-free Vectorized Stencil Computation by Tessellating Swizzled Registers cites LoRAStencil: Low-Rank Adaptation of Stencil Computation on Tensor Cores
  • LoRAStencil: Low-Rank Adaptation of Stencil Computation on Tensor Cores cites ConvStencil: Transform Stencil Computation to Matrix Multiplication on Tensor Cores
  • SparStencil: Retargeting Sparse Tensor Cores to Scientific Stencil Computations via Structured Sparsity Transformation cites FlashFFTStencil: Bridging Fast Fourier Transforms to Memory-Efficient Stencil Computations on Tensor Core Units
  • SparStencil: Retargeting Sparse Tensor Cores to Scientific Stencil Computations via Structured Sparsity Transformation cites ConvStencil: Transform Stencil Computation to Matrix Multiplication on Tensor Cores
  • SparStencil: Retargeting Sparse Tensor Cores to Scientific Stencil Computations via Structured Sparsity Transformation cites LoRAStencil: Low-Rank Adaptation of Stencil Computation on Tensor Cores
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. ConvStencil: Transform Stencil Computation to Matrix Multiplication on Tensor CoresYuetao Chen, Kun Li, Yuhao Wang, Donglin Bai et al.PPoPP 2024 · 25 citations
  2. LoRAStencil: Low-Rank Adaptation of Stencil Computation on Tensor CoresYiwei Zhang, Kun Li, Liang Yuan, Jiawen Cheng et al.SC 2024 · 13 citations
  3. FlashFFTStencil: Bridging Fast Fourier Transforms to Memory-Efficient Stencil Computations on Tensor Core UnitsHaozhi Han, Kun Li, Wei Cui, Donglin Bai et al.PPoPP 2025 · 7 citations
  4. SparStencil: Retargeting Sparse Tensor Cores to Scientific Stencil Computations via Structured Sparsity TransformationQi Li, Kun Li, Haozhi Han, Liang Yuan et al.SC 2025 · 3 citations
  5. Jigsaw: Toward Conflict-free Vectorized Stencil Computation by Tessellating Swizzled RegistersYiwei Zhang, Kun Li, Liang Yuan, Haozhi Han et al.PPoPP 2025 · 2 citations

Related papers

  1. Temporal vectorization for stencilsLiang Yuan, Hang Cao, Yunquan Zhang, Kun Li et al.SC 2021 · 11 citations
  2. Optimizing the Memory Hierarchy by Compositing Automatic Transformations on Computations and DataJie Zhao, Peng DiMICRO 2020 · 32 citations
  3. HStencil: Matrix-Vector Stencil Computation with Interleaved Outer Product and MLAHan Huang, Jiabin Xie, Guangnan Feng, Xianwei Zhang et al.SC 2025 · 5 citations
  4. Exploiting Computation Reuse for Stencil AcceleratorsYuze Chi, Jason CongDAC 2020 · 11 citations
  5. Pencil: a pipelined algorithm for distributed stencilsHengjie Wang, Aparna ChandramowlishwaranSC 2020 · 12 citations
Dusk over the sea between two cliffs drawn in fine vertical lines