arXiv · 2408.11205
DSP-MLIR: A MLIR Dialect for Digital Signal Processing
Abstract
Traditional Digital Signal Processing ( DSP ) compilers work at low level ( C-level / assembly level ) and hence lose much of the optimization opportunities present at high-level ( domain-level ). The emerging multi-level compiler infrastructure MLIR ( Multi-level Intermediate Representation ) allows to specify optimizations at higher level. In this paper, we utilize MLIR framework to introduce a DSP Dialect and perform domain-specific optimizations at dialect -level ( high-level ) and show the usefulness of these optimizations on sample DSP apps. In particular, we develop a compiler for DSP and a DSL (Domain Specific Language) to ease the development of apps. We show the performance improvement in execution time for these sample apps by upto 10x which would have been difficult if the IR were at C/ affine level.
Explore related subjects
Keep this discovery
Abhinav Kumar, Atharva Khedkar, Aviral Shrivastava. 2024-08-20. DSP-MLIR: A MLIR Dialect for Digital Signal Processing. https://doi.org/10.1145/3735452.3735527
Cite the original work for its findings. Save a collection to share your selection of sources.