PyramidFFT: Rearchitecting FFT with Matrix-Aligned Nested-Radix for Hierarchical Scratchpad Memory on AI Accelerators
Emerging AI accelerators equipped with large-capacity scratchpad memory (SPM) provide high computational throughput and large on-chip storage capacity. However, for memory-bound HPC algorithms such as Fast Fourier Transform (FFT), the hierarchical SPM organization cannot be fully exploited, leading to underutilized compute resources and exacerbated bandwidth bottlenecks. In this paper, we propose PyramidFFT, a memory-efficient FFT system co-designed for AI accelerators with large-capacity SPM. PyramidFFT leverages large-capacity SPM to address the memory-bound problem of FFT through three key techniques: Memory-Aware Nested Network Design tightly couples FFT computation with the memory hierarchy to reduce memory access frequency; Matrix-Aligned Butterfly Layout Optimization, which dynamically adjusts butterfly parallelism and transforms the FFT data layout to better utilize Tensor Core Units (TCUs); Symmetry-Driven Real FFT Compression, which removes conjugate symmetric components in real FFT to further ease memory pressure. The results demonstrate that PyramidFFT mitigates memory-bound limitations, achieving up to an 8.2× efficiency improvement over the baseline without memory-hierarchy mapping. By aligning with the structural characteristics of large-capacity SPM, PyramidFFT bridges the gap between FFT’s memory-bound behavior and the compute-dense design of modern AI accelerators, demonstrating the effectiveness of architecture-aware FFT co-design on SPM-based systems.
Authors
- Yunquan Zhang (ORCID: https://orcid.org/0000-0001-7520-9640)
- Kun Li (ORCID: https://orcid.org/0000-0002-1013-1325)
- Ting Cao (ORCID: https://orcid.org/0000-0002-9107-013X)
- Haipeng Jia (ORCID: https://orcid.org/0000-0002-9855-5367)
- Yunxin Liu (ORCID: https://orcid.org/0000-0001-7352-8955)
- J. Xu (ORCID: https://orcid.org/0009-0006-8190-7000)
- Xiang Zhao (ORCID: https://orcid.org/0009-0003-2432-6507)
- R.H. Zhang (ORCID: https://orcid.org/0009-0008-7526-8980)
Institutions
- Chinese Academy of Sciences (CN)
- Institute of Computing Technology (CN)
- University of Chinese Academy of Sciences (CN)
- Ocean University of China (CN)
- Tsinghua University (CN)
Publication Details
- Journal
- ACM Transactions on Architecture and Code Optimization
- Published
- 2026-06-12
- DOI
- https://doi.org/10.1145/3819240
- Primary Topic
- Parallel Computing and Optimization Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00