Accelerating Complex Stencil Computations with Adaptive Fusion Strategy

  • Siqi Wang
  • , Hailong Yang*
  • , Pengbo Wang
  • , Shaokang Du
  • , Yufan Xu
  • , Qingxiao Sun
  • , Xiaoyan Liu
  • , Xuezhu Wang
  • , Xuning Liang
  • , Zhongzhi Luan
  • , Yi Liu
  • , Depei Qian
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Stencil computation is an important computational pattern widely utilized in various scientific applications, such as image processing, climate forecasting, and fluid dynamics. With the increasing demands for higher precision by scientific applications, stencil computations have become complex, containing a set of dependent stencil operators that may process multiple input grids. These stencils are referred to as complex stencils. For complex stencils, optimizing individual stencil operators is insufficient, and there is significant interest in developing optimization approaches across stencil operators. Existing stencil optimizations or compilers adopt the producer-consumer fusion of stencil operators to eliminate intermediate data access for better performance, however, neglecting the performance opportunity by exploiting inter-operator parallelism through parallelism fusion of stencil operators. To address the above limitation, we propose Plasticine, an adaptive fusion framework for complex stencil computations on GPU. We begin by introducing parallelism fusion, which enables the fusion of concurrent stencil operators for improved performance. Then, a novel multi-level complex stencil representation that effectively captures the characteristics of stencil programs is designed and a CNN-GNN-based model is utilized for fusion strategies selection. The experimental results show that our work, Plasticine, achieves consistently superior performance over state-of-the-art stencil compilers.

Original languageEnglish
Title of host publicationACM ICS 2025 - Proceedings of the 39th ACM International Conference on Supercomputing
PublisherAssociation for Computing Machinery
Pages265-278
Number of pages14
ISBN (Electronic)9798400715372
DOIs
StatePublished - 22 Aug 2025
Event39th ACM International Conference on Supercomputing, ICS 2025 - Lake City, United States
Duration: 8 Jun 202511 Jun 2025

Publication series

NameProceedings of the International Conference on Supercomputing
VolumePart of 213821

Conference

Conference39th ACM International Conference on Supercomputing, ICS 2025
Country/TerritoryUnited States
CityLake City
Period8/06/2511/06/25

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 13 - Climate Action
    SDG 13 Climate Action

Keywords

  • Complex Stencil
  • Parallelism Fusion
  • Strategy Selection

Fingerprint

Dive into the research topics of 'Accelerating Complex Stencil Computations with Adaptive Fusion Strategy'. Together they form a unique fingerprint.

Cite this