Elixir: A system for synthesizing concurrent graph programs

Dimitrios Prountzos, Roman Manevich, Keshav Pingali

Research output: Contribution to journalArticlepeer-review

9 Scopus citations

Abstract

Algorithms in new application areas like machine learning and network analysis use "irregular" data structures such as graphs, trees and sets. Writing efficient parallel code in these problem domains is very challenging because it requires the programmer to make many choices: a given problem can usually be solved by several algorithms, each algorithm may have many implementations, and the best choice of algorithm and implementation can depend not only on the characteristics of the parallel platform but also on properties of the input data such as the structure of the graph. One solution is to permit the application programmer to experiment with different algorithms and implementations without writing every variant from scratch. Auto-tuning to find the best variant is a more ambitious solution. These solutions require a system for automatically producing efficient parallel implementations from high-level specifications. Elixir, the system described in this paper, is the first step towards this ambitious goal. Application programmers write specifications that consist of an operator, which describes the computations to be performed, and a schedule for performing these computations. Elixir uses sophisticated inference techniques to produce efficient parallel code from such specifications. We used Elixir to automatically generate many parallel implementations for three irregular problems: breadthfirst search, single source shortest path, and betweennesscentrality computation. Our experiments show that the best generated variants can be competitive with handwritten code for these problems from other research groups; for some inputs, they even outperform the handwritten versions.

Original languageEnglish
Pages (from-to)375-394
Number of pages20
JournalACM SIGPLAN Notices
Volume47
Issue number10
DOIs
StatePublished - 1 Oct 2012
Externally publishedYes

Keywords

  • Amorphous Data-parallelism
  • Compiler Optimization
  • Concurrency
  • Irregular Programs
  • Optimistic Parallelization
  • Parallelism
  • Synthesis

ASJC Scopus subject areas

  • Computer Science (all)

Fingerprint

Dive into the research topics of 'Elixir: A system for synthesizing concurrent graph programs'. Together they form a unique fingerprint.

Cite this