SPCLAug 20, 2024

DSP-MLIR: A MLIR Dialect for Digital Signal Processing

arXiv:2408.11205v13 citationsh-index: 11
Originality Incremental advance
AI Analysis

This work addresses the need for more efficient DSP compilers for developers, though it is incremental as it builds on the existing MLIR infrastructure.

The paper tackled the problem of lost optimization opportunities in traditional low-level DSP compilers by introducing a DSP dialect in the MLIR framework to perform domain-specific optimizations at a higher level, resulting in up to 10x performance improvement in execution time for sample DSP apps.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes