Saved in:
Bibliographic Details
Main Authors: Kumar, Abhinav, Khedkar, Atharva, Shrivastava, Aviral
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2408.11205
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908412907880448
author Kumar, Abhinav
Khedkar, Atharva
Shrivastava, Aviral
author_facet Kumar, Abhinav
Khedkar, Atharva
Shrivastava, Aviral
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2408_11205
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle DSP-MLIR: A MLIR Dialect for Digital Signal Processing
Kumar, Abhinav
Khedkar, Atharva
Shrivastava, Aviral
Signal Processing
Computation and Language
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.
title DSP-MLIR: A MLIR Dialect for Digital Signal Processing
topic Signal Processing
Computation and Language
url https://arxiv.org/abs/2408.11205