Back to results

[Bloomington, Ind.] : Indiana University

A data parallel compiler hosted on the GPU

Abstract

dc:description.abstract

This work describes a general, scalable method for building data-parallel by construction tree transformations that exhibit simplicity, directness of expression, and high-performance on both CPU and GPU architectures when executed on either interpreted or compiled platforms across a wide range of data sizes, as exemplified and expounded by the exposition of a complete compiler for a lexically scoped, functionally oriented programming commercial language. The entire source code to the compiler written in this method requires only 17 lines of simple code compared to roughly 1000 lines of equivalent code in the domain-specific compiler construction framework, Nanopass, and requires no domain specific techniques, libraries, or infrastructure support. It requires no sophisticated abstraction barriers to retain its concision and simplicity of form. The execution performance of the compiler scales along multiple dimensions: it consistently outperforms the equivalent traditional compiler by orders of magnitude in memory usage and run time at all data sizes and achieves this performance on both interpreted and compiled platforms across CPU and GPU hardware using a single source code for both architectures and no hardware-specific annotations or code. It does not use any novel domain-specific inventions of technique or process, nor does it use any sophisticated language or platform support. Indeed, the source does not utilize branching, conditionals, if statements, pattern matching, ADTs, recursions, explicit looping, or other non-trivial control or dispatch, nor any specialized data models.

Degree

thesis:*
Grantor dc:publisher
[Bloomington, Ind.] : Indiana University
Year dc:date.issued
2019

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Hsu, Aaron W.
Advisor dc:contributor.advisor
  • Andrew Lumsdaine

Subjects

dc:subject × 5

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
https://hdl.handle.net/2022/24749
OAI identifier oai:identifier
oai:scholarworks.iu.edu:2022/24749

Chain of custody

source
Harvested from
Indiana University
Base URL
scholarworks.iu.edu/iuswrrest/oai/request
Last updated
2026-07-24
Source record
OAI-PMH GetRecord
citation

Hsu, Aaron W.. A data parallel compiler hosted on the GPU. [Bloomington, Ind.] : Indiana University, 2019. https://hdl.handle.net/2022/24749