ACM Transactions on Design Automation of Electronic Systems

DFC-Trans: A Dataflow-Centric Architecture for Efficient Matrix Transposition

Yang Zhang, Yongwang Qin, Sheng Liu, Xing Hu, Minghao Peng, Xi Tian, Keqin Li

Key points

From the paper's conclusion
  • Its key innovations are: (1) a hardware-based auto-blocking method which is tightly coupled with DMA(Direct Memory Access) for large-scale matrix transposition, which fundamentally eliminates software-driven chunking and distinguishes DFC-Trans from library-based (e.g., MKL, cuFFT) and manually optimized implementations; (2) a multi-granularity mapping method which supports the transposition of 16

Abstract

Fast Fourier Transform (FFT) is fundamental for spectral analysis and popular in deep learning for efficient feature extraction. However, its performance hinges on memory access optimization where matrix transposition is crucial. Conventional CPU/GPU platforms typically implement FFT algorithms by relying on libraries or manually optimized code, yet remain constrained by inefficient data access patterns and high human-intervention dependency. Existing specialized transposition accelerators still exhibit limitations in multi-granular data support and leave room for further performance enhancement. In this paper, we present DFC-Trans, a dataflow-centric architecture for efficient matrix transposition, rather than a software-level optimization or GPU kernel tuning technique. Its key innovations are: (1) a hardware-based auto-blocking method which is tightly coupled with DMA(Direct Memory Access) for large-scale matrix transposition, which fundamentally eliminates software-driven chunking and distinguishes DFC-Trans from library-based (e.g., MKL, cuFFT) and manually optimized implementations; (2) a multi-granularity mapping method which supports the transposition of 16/32/64/128-bit data granularity, aligning with deep learning demands for mixed-precision quantization in FFT computations; (3) a register rotation structure that enables pipelined transposition through dynamic read/write switching in direction, achieving nearly 2× higher matrix transposition throughput compared to conventional methods. Experimental results demonstrate that DFC-Trans achieves up to 2.26× and 3.47× speedup over Intel MKL and NVIDIA cuFFT, respectively, for 128K-point FFT, while maintaining only 3.57% additional area overhead and 0.796% additional power consumption overhead of the single core.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers