We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Programming Languages

Title: Predictable Accelerator Design with Time-Sensitive Affine Types

Abstract: Field-programmable gate arrays (FPGAs) provide an opportunity to co-design applications with hardware accelerators, yet they remain difficult to program. High-level synthesis (HLS) tools promise to raise the level of abstraction by compiling C or C++ to accelerator designs. Repurposing legacy software languages, however, requires complex heuristics to map imperative code onto hardware structures. We find that the black-box heuristics in HLS can be unpredictable: changing parameters in the program that should improve performance can counterintuitively yield slower and larger designs. This paper proposes a type system that restricts HLS to programs that can predictably compile to hardware accelerators. The key idea is to model consumable hardware resources with a time-sensitive affine type system that prevents simultaneous uses of the same hardware structure. We implement the type system in Dahlia, a language that compiles to HLS C++, and show that it can reduce the size of HLS parameter spaces while accepting Pareto-optimal designs.
Comments: Full paper with soundness proof and MachSuite ports
Subjects: Programming Languages (cs.PL); Hardware Architecture (cs.AR)
Journal reference: PLDI 2020: Proceedings of the 41st ACM SIGPLAN Conference on Programming Language Design and Implementation
DOI: 10.1145/3395657
Cite as: arXiv:2004.04852 [cs.PL]
  (or arXiv:2004.04852v2 [cs.PL] for this version)

Submission history

From: Rachit Nigam [view email]
[v1] Thu, 9 Apr 2020 23:23:07 GMT (3653kb,D)
[v2] Thu, 30 Apr 2020 16:48:13 GMT (3661kb,D)

Link back to: arXiv, form interface, contact.