The Sparse Abstract Machine

08/31/2022
by   Olivia Hsu, et al.
0

We propose the Sparse Abstract Machine (SAM), an intermediate representation and abstract machine model for targeting sparse tensor algebra to reconfigurable and fixed-function spatial dataflow accelerators. SAM defines a streaming abstraction with sparse primitives that encompass a large space of scheduled tensor algebra expressions. SAM dataflow graphs naturally separate tensor formats from algorithms and is expressive enough to incorporate many sparse-iteration and hardware-specific optimizations. We show an automatic compilation technique from a high-level language to SAM and a set of hardware primitives which implement it. We evaluate the generality and extensibility of our sparse abstract machine, explore the performance space of sparse tensor algebra optimizations using SAM, and provide an example implementation of our SAM architecture.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/09/2021

A High-Performance Sparse Tensor Algebra Compiler in Multi-Level IR

Tensor algebra is widely used in many applications, such as scientific c...
research
02/28/2018

Sparse Tensor Algebra Optimizations with Workspaces

This paper shows how to optimize sparse tensor algebraic expressions by ...
research
07/28/2022

SpDISTAL: Compiling Distributed Sparse Tensor Computations

We introduce SpDISTAL, a compiler for sparse tensor algebra that targets...
research
10/10/2021

Parallel Minimum Spanning Forest Computation using Sparse Matrix Kernels

Formulations of graph algorithms using sparse linear algebra have yielde...
research
11/18/2022

Compiling Structured Tensor Algebra

Tensor algebra is essential for data-intensive workloads in various comp...
research
08/13/2022

Tensor Algebra on an Optoelectronic Microchip

Tensor algebra lies at the core of computational science and machine lea...
research
01/27/2023

Matching Linear Algebra and Tensor Code to Specialized Hardware Accelerators

Dedicated tensor accelerators demonstrate the importance of linear algeb...

Please sign up or login with your details

Forgot password? Click here to reset