# Program Generation for Linear Algebra Using Multiple Layers of DSLs

**Authors:** Daniele G. Spampinato (1), Diego Fabregat-Traver (2), Markus P\"uschel, (1), Paolo Bientinesi (2) ((1) ETH Zurich, (2) RWTH Aachen University)

arXiv: 1906.08613 · 2019-06-21

## TL;DR

This paper proposes a multi-layered domain-specific language (DSL) approach to generate optimized linear algebra programs tailored to specific application needs, enhancing flexibility beyond traditional libraries.

## Contribution

It introduces a novel multi-layer DSL framework for program generation that customizes linear algebra routines for particular sizes, interfaces, and architectures.

## Key findings

- Enables flexible and optimized linear algebra program generation.
- Improves upon traditional library limitations in flexibility.
- Demonstrates tailored routines for specific application requirements.

## Abstract

Numerical software in computational science and engineering often relies on highly-optimized building blocks from libraries such as BLAS and LAPACK, and while such libraries provide portable performance for a wide range of computing architectures, they still present limitations in terms of flexibility. We advocate a domain-specific program generator capable of producing library routines tailored to the specific needs of the application in terms of sizes, interface, and target architecture.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1906.08613/full.md

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/1906.08613/full.md

## References

9 references — full list in the complete paper: https://tomesphere.com/paper/1906.08613/full.md

---
Source: https://tomesphere.com/paper/1906.08613