Lune

PPoPP2025Top-tier venue

Jigsaw: Toward Conflict-free Vectorized Stencil Computation by Tessellating Swizzled Registers

Yiwei Zhang, Kun Li, Liang Yuan, Haozhi Han, Yunquan Zhang, Ting Cao, Mao Yang

Abstract

Stencil computation plays a pivotal role in numerous scientific and engineering applications. Previous studies have extensively investigated vectorization techniques to enhance in-core parallelism; however, the performance bottleneck caused by data alignment conflicts (DAC) has not been effectively resolved in all dimensions. This paper proposes Jigsaw, a conflict-free vectorization method to reduce DAC across all dimensions by tessellating swizzled finest-grained lanes. Jigsaw comprises three key components: Lane-based Butterfly Vectorization, SVD-based Dimension Flattening, and Iteration-based Temporal Merging. These components effectively address DAC across spatial and temporal dimensions. Experimental results on different machines demonstrate that Jigsaw could achieve a significant improvement compared to the state-of-the-art techniques, with an average speedup of 2.31x on various stencil kernels.

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.

1 top-tier paper has 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

  • ConvStencil: Transform Stencil Computation to Matrix Multiplication on Tensor Cores cites Scalable Distributed High-Order Stencil Computations
  • ConvStencil: Transform Stencil Computation to Matrix Multiplication on Tensor Cores cites Improving communication by optimizing on-node data movement with data layout
  • ConvStencil: Transform Stencil Computation to Matrix Multiplication on Tensor Cores cites Reducing redundancy in data organization and arithmetic calculation for stencil computations
  • LoRAStencil: Low-Rank Adaptation of Stencil Computation on Tensor Cores cites Scalable Distributed High-Order Stencil Computations
  • LoRAStencil: Low-Rank Adaptation of Stencil Computation on Tensor Cores cites Improving communication by optimizing on-node data movement with data layout
  • LoRAStencil: Low-Rank Adaptation of Stencil Computation on Tensor Cores cites Reducing redundancy in data organization and arithmetic calculation for stencil computations
  • LoRAStencil: Low-Rank Adaptation of Stencil Computation on Tensor Cores cites ConvStencil: Transform Stencil Computation to Matrix Multiplication on Tensor Cores
  • SPIDER: Unleashing Sparse Tensor Cores for Stencil Computation via Strided Swapping cites Scalable Distributed High-Order Stencil Computations
  • SPIDER: Unleashing Sparse Tensor Cores for Stencil Computation via Strided Swapping cites Reducing redundancy in data organization and arithmetic calculation for stencil computations
  • SPIDER: Unleashing Sparse Tensor Cores for Stencil Computation via Strided Swapping cites ConvStencil: Transform Stencil Computation to Matrix Multiplication on Tensor Cores
  • SPIDER: Unleashing Sparse Tensor Cores for Stencil Computation via Strided Swapping 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 papers1

  1. SPIDER: Unleashing Sparse Tensor Cores for Stencil Computation via Strided SwappingQiqi Gu, Chenpeng Wu, Heng Shi, Jianguo YaoPPoPP 2026 · 1 citation

Builds on6

  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. Improving communication by optimizing on-node data movement with data layoutTuowen Zhao, Mary W. Hall, Hans Johansen, Samuel WilliamsPPoPP 2021 · 19 citations
  3. Scalable Distributed High-Order Stencil ComputationsMathias Jacquelin, Mauricio Araya-Polo, Jie MengSC 2022 · 17 citations
  4. LoRAStencil: Low-Rank Adaptation of Stencil Computation on Tensor CoresYiwei Zhang, Kun Li, Liang Yuan, Jiawen Cheng et al.SC 2024 · 13 citations
  5. Reducing redundancy in data organization and arithmetic calculation for stencil computationsKun Li, Liang Yuan, Yunquan Zhang, Yue YueSC 2021 · 12 citations

Related papers

  1. Temporal vectorization for stencilsLiang Yuan, Hang Cao, Yunquan Zhang, Kun Li et al.SC 2021 · 11 citations
  2. A Conflict-aware Divide-and-Conquer Algorithm for Symmetric Sparse Matrix-Vector MultiplicationHaozhong Qiu, Chuanfu Xu, Jianbin Fang, Jian Zhang et al.SC 2024 · 7 citations
  3. Exploiting Computation Reuse for Stencil AcceleratorsYuze Chi, Jason CongDAC 2020 · 11 citations
  4. Origami: A High-Performance Mergesort FrameworkArif Arman, Dmitri LoguinovVLDB 2022 · 3 citations
  5. HStencil: Matrix-Vector Stencil Computation with Interleaved Outer Product and MLAHan Huang, Jiabin Xie, Guangnan Feng, Xianwei Zhang et al.SC 2025 · 5 citations
Dusk over the sea between two cliffs drawn in fine vertical lines