Jigsaw: Toward Conflict-free Vectorized Stencil Computation by Tessellating Swizzled Registers
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.
Authors
- Yunquan Zhang (ORCID: https://orcid.org/0000-0001-7520-9640)
- Liang Yuan (ORCID: https://orcid.org/0000-0003-3406-2907)
- Yiwei Zhang (ORCID: https://orcid.org/0000-0003-2050-572X)
- Kun Li (ORCID: https://orcid.org/0000-0002-1013-1325)
- Mao Yang (ORCID: https://orcid.org/0009-0009-6455-3898)
- Ting Cao (ORCID: https://orcid.org/0000-0002-9107-013X)
- Haozhi Han (ORCID: https://orcid.org/0009-0004-3075-3385)
Institutions
- Chinese Academy of Sciences (CN)
- Peking University (CN)
- Microsoft Research Asia (China) (CN)
- University of Chinese Academy of Sciences (CN)
Publication Details
- Published
- 2025-02-28
- DOI
- https://doi.org/10.1145/3710848.3710886
- Primary Topic
- Parallel Computing and Optimization Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00