Towards scalable pattern‐based optimization for dense linear algebra
Summary 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: devel...
Gespeichert in:
Veröffentlicht in: | Concurrency and computation 2018-11, Vol.30 (22), p.n/a |
---|---|
Hauptverfasser: | , , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | Summary
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. Using this formalism, we systematically construct and analyze different subdivisions and permutations of the dense matrix multiplication problem. |
---|---|
ISSN: | 1532-0626 1532-0634 |
DOI: | 10.1002/cpe.4696 |