• Home
  • Search
  • Compiling Recurrences over Dense and Sparse Arrays
  • Cite Icon1
  • https://doi.org/10.1145/3649820Copy DOI Icon

Compiling Recurrences over Dense and Sparse Arrays

Show More
  • Abstract
  • Highlights & Summary
  • PDF
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

We present a framework for compiling recurrence equations into native code. In our framework, users specify a system of recurrences, the types of data structures that store inputs and outputs, and scheduling commands for optimization. Our compiler then lowers these specifications into native code that respects the dependencies in the recurrence equations. Our compiler can generate code over both sparse and dense data structures, and determines if the recurrence system is solvable with the provided scheduling primitives. We evaluate the performance and correctness of the generated code on several recurrences, from domains as diverse as dense and sparse matrix solvers, dynamic programming, graph problems, and sparse tensor algebra. We demonstrate that the generated code has competitive performance to hand-optimized implementations in libraries. However, these handwritten libraries target specific recurrences, specific data structures, and specific optimizations. Our system, on the other hand, automatically generates implementations from recurrences, data formats, and schedules, giving our system more generality than library approaches.

Loading PDF

Similar Papers
  • Conference Article

Graph Processing with Different Data Structures

  • Nov 01, 2019
  • Mikhail Chernoskutov
  • Research Article
  • Citations16

Efficient indexing for semantic search

  • Dec 24, 2016
  • Expert Systems with Applications
  • Fatemeh Lashkari +3
  • Book Chapter
  • Citations54

Data Structure Lower Bounds on Random Access to Grammar-Compressed Strings

  • Jan 01, 2013
  • Elad Verbin +1
  • Research Article
  • Citations67

Structure-activity analyzed by pattern recognition: the asymmetric case

  • Jun 01, 1980
  • Journal of Medicinal Chemistry
  • W J Dunn +1
  • Research Article

Modes of appearance revisited: the non-unitary of colour codes

  • Nov 01, 2004
  • Journal of Vision
  • R Mausfeld
  • Conference Article
  • Citations1

Teaching data structures: thread safety and components

  • Nov 06, 2002
  • B.P Shults
  • PDF
  • Research Article
  • Citations22

Compilation of sparse array programming models

  • Oct 15, 2021
  • Proceedings of the ACM on Programming Languages
  • Rawn Henry +6
  • Research Article
  • Citations12

Experiences with sparse matrix solvers in parallel ODE software

  • Jan 01, 1995
  • Computers & Mathematics with Applications
  • J.J.B De Swart +1
  • Research Article
  • Citations2

Data structures in speech production

  • Jun 01, 2003
  • Journal of the International Phonetic Association
  • Mark Tatham +1
  • Conference Article
  • Citations2

Partial refactorization based machine modeling techniques for electromagnetic transients

  • Jul 01, 2017
  • Ulas Karaagac +4
  • Research Article
  • Citations42

An object-oriented framework for block preconditioning

  • Jun 01, 1998
  • ACM Transactions on Mathematical Software
  • Edmond Chow +1
  • Book Chapter

An Introduction to Collections, Generics, and the Timing Class

  • Mar 26, 2007
  • Michael Mcmillan
  • Research Article
  • Citations7

A direct parallel sparse matrix solver

  • Aug 01, 1996
  • Computer Physics Communications
  • T.M Tran +3
  • Conference Article

Turbulent combustion modeling with fully coupled fully implicit compressible solver

  • Jan 01, 2015
  • AIP conference proceedings
  • B Kalpakli +2
  • Research Article
  • Citations46

An EScheduler-Based Data Dependence Analysis and Task Scheduling for Parallel Circuit Simulation

  • Oct 01, 2011
  • IEEE Transactions on Circuits and Systems II: Express Briefs
  • Xiaoming Chen +4
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.