Towards scalable pattern-based optimization for dense linear algebra
D\'aniel Ber\'enyi, Andr\'as Leitereg, G\'abor Lehel

TL;DR
This paper introduces a scalable, pattern-based optimization approach for dense linear algebra, utilizing higher-order functions and rewrite rules to improve performance on modern architectures.
Contribution
It proposes a novel formalism using higher-order functions for expressing linear algebra operations, enabling automatic optimization for diverse hardware architectures.
Findings
Systematic analysis of dense matrix multiplication subdivisions.
Development of rewrite rules for optimization.
Enhanced performance potential on hierarchical architectures.
Abstract
Linear algebraic expressions are the essence of many computationally intensive problems, including scientific simulations and machine learning applications. However, translating high-level formulations of these expressions to efficient machine-level representations is far from trivial: developers should be assisted by automatic optimization tools so that they can focus their attention on high-level problems, rather than low-level details. The tractability of these optimizations is highly dependent on the choice of the primitive constructs in terms of which the computations are to be expressed. In this work we propose to describe operations on multi-dimensional arrays using a selection of higher-order functions, inspired by functional programming, and we present rewrite rules for these such that they can be automatically optimized for modern hierarchical and heterogeneous architectures.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
