Skip to main navigation Skip to search Skip to main content

Applying Fast Fourier Transforms to Accelerate Spatially and Temporally Inhomogeneous Stencil Computations

  • Stony Brook University

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

Abstract

Stencil computations are essential for simulating the evolution of physical systems across multi-dimensional grids over multiple timesteps. State-of-the-art techniques in this field fall into three major groups: tiled looping algorithms, divide-and-conquer trapezoidal algorithms, and Krylov subspace methods. The vast majority of stencil computation algorithms fundamentally operate by looping over all grid cells for all timesteps and computing each value as they go. For a grid of size N and T timesteps, all such looping methods perform Θ (NT) work. Recently however a class of Krylov subspace methods based on Fast Fourier transforms (FFTs) have been developed that allow for o (NT) work if applied to a problem with a constant linear stencil. In this paper we present an approach that supports a broad class of problems involving multiple time-varying linear stencils applied over spatial regions with arbitrary, time-varying boundaries subject to arbitrary boundary conditions. We develop a recursive divide-and-conquer strategy based on l-shell decompositions of arbitrary spatial regions, enabling efficient solutions over irregular domains in both space and time. These extensions allow us to apply FFT-based acceleration in settings that were previously out of reach. We maintain to within a logarithmic factor the complexity bounds achieved for the narrower problem statement addressed by previous FFT-based methods, again securing o (NT) work. Initial experimental results show that implementations of our algorithms that evolve grids of roughly 107 cells for around 105 timesteps run orders of magnitude faster than state-of-the-art implementations for periodic stencil problems, and substantially faster for aperiodic stencil problems. Code Repository: https://github.com/TEALab-org/nhls

Original languageEnglish
Title of host publicationSPAA 2025 - Proceedings of the 2025 37th ACM Symposium on Parallelism in Algorithms and Architectures
PublisherAssociation for Computing Machinery
Pages17-33
Number of pages17
ISBN (Electronic)9798400712586
DOIs
StatePublished - Jul 16 2025
Event37th ACM Symposium on Parallelism in Algorithms and Architectures, SPAA 2025 - Portland, United States
Duration: Jul 28 2025Aug 1 2025

Publication series

NameAnnual ACM Symposium on Parallelism in Algorithms and Architectures
ISSN (Print)1548-6109

Conference

Conference37th ACM Symposium on Parallelism in Algorithms and Architectures, SPAA 2025
Country/TerritoryUnited States
CityPortland
Period07/28/2508/1/25

Keywords

  • Divide-and-Conquer
  • Fast Fourier Transform
  • Moving Boundaries
  • Multi-region Stencil Grids
  • Parallel Stencil Solver
  • Stencil Computation
  • Time-varying Stencils

Fingerprint

Dive into the research topics of 'Applying Fast Fourier Transforms to Accelerate Spatially and Temporally Inhomogeneous Stencil Computations'. Together they form a unique fingerprint.

Cite this