paperbot · PL 论文追踪

RSS

Indexed Streams: A Formal Intermediate Representation for Fused Contraction Programs

PLDI 7(PLDI)2023
Scott Kovach, Praneeth Kolichala, Tiancheng Gu, Fredrik Kjolstad

尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。

原文摘要(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.

链接与引用

DOI 原文 ·

BibTeX
@article{paperbot1991,
  title = {Indexed Streams: A Formal Intermediate Representation for Fused Contraction Programs},
  author = {Scott Kovach and Praneeth Kolichala and Tiancheng Gu and Fredrik Kjolstad},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {7},
  number = {PLDI},
  year = {2023},
  doi = {10.1145/3591268}
}