Indexed Streams: A Formal Intermediate Representation for Fused Contraction Programs

5Citations
Citations of this article
5Readers
Mendeley users who have this article in their library.

Abstract

We introduce indexed streams, a formal operational model and intermediate representation that describes the fused execution of a contraction language that encompasses both sparse tensor algebra and relational algebra. We prove that the indexed stream model is correct with respect to a functional semantics. We also develop a compiler for contraction expressions that uses indexed streams as an intermediate representation. The compiler is only 540 lines of code, but we show that its performance can match both the TACO compiler for sparse tensor algebra and the SQLite and DuckDB query processing libraries for relational algebra.

References Powered by Scopus

A Relational Model of Data for Large Shared Data Banks

4768Citations
N/AReaders
Get full text

The University of Florida Sparse Matrix Collection

2460Citations
N/AReaders
Get full text

The Synchronous Data Flow Programming Language Lustre

1174Citations
N/AReaders
Get full text

Cited by Powered by Scopus

Mechanised hypersafety proofs about structured data

1Citations
N/AReaders
Get full text

A Verified Compiler for a Functional Tensor Language

1Citations
N/AReaders
Get full text

Compilation of Modular and General Sparse Workspaces

1Citations
N/AReaders
Get full text

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Cite

CITATION STYLE

APA

Kovach, S., Kolichala, P., Gu, T., & Kjolstad, F. (2023). Indexed Streams: A Formal Intermediate Representation for Fused Contraction Programs. Proceedings of the ACM on Programming Languages, 7. https://doi.org/10.1145/3591268

Readers over time

‘23‘2402468

Readers' Seniority

Tooltip

Professor / Associate Prof. 2

50%

Lecturer / Post doc 1

25%

PhD / Post grad / Masters / Doc 1

25%

Readers' Discipline

Tooltip

Computer Science 3

60%

Engineering 2

40%

Save time finding and organizing research with Mendeley

Sign up for free
0