Term Rewriting on GPUs

Johri van Eerd, Jan Friso Groote*, Pieter Hijma, Jan Martens, Anton Wijs

*Corresponding author for this work

Research output: Chapter in Book / Report / Conference proceedingConference contributionAcademicpeer-review

Abstract

We present a way to implement term rewriting on a GPU. We do this by letting the GPU repeatedly perform a massively parallel evaluation of all subterms. We find that if the term rewrite systems exhibit sufficient internal parallelism, GPU rewriting substantially outperforms the CPU. Since we expect that our implementation can be further optimized, and because in any case GPUs will become much more powerful in the future, this suggests that GPUs are an interesting platform for term rewriting. As term rewriting can be viewed as a universal programming language, this also opens a route towards programming GPUs by term rewriting, especially for irregular computations.

Original languageEnglish
Title of host publicationFundamentals of Software Engineering
Subtitle of host publication9th International Conference, FSEN 2021, Virtual Event, May 19–21, 2021, Revised Selected Papers
EditorsHossein Hojjat, Mieke Massink
PublisherSpringer Science and Business Media Deutschland GmbH
Pages175-189
Number of pages15
ISBN (Electronic)9783030892470
ISBN (Print)9783030892463
DOIs
Publication statusPublished - 2021
Event9th International Conference on Fundamentals of Software Engineering, FSEN 2021 - Virtual, Online
Duration: 19 May 202121 May 2021

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume12818 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference9th International Conference on Fundamentals of Software Engineering, FSEN 2021
CityVirtual, Online
Period19/05/2121/05/21

Bibliographical note

Funding Information:
Acknowledgment. This work is carried out in the context of the NWO AVVA project 612.001751. We gratefully acknowledge the support of NVIDIA Corporation with the donation of the GeForce Titan RTX used for this research.

Funding Information:
This work is carried out in the context of the NWO AVVA project 612.001751. We gratefully acknowledge the support of NVIDIA Corporation with the donation of the GeForce Titan RTX used for this research.

Publisher Copyright:
© 2021, IFIP International Federation for Information Processing.

Keywords

  • GPU
  • Parallel computing
  • Programming
  • Term rewriting

Fingerprint

Dive into the research topics of 'Term Rewriting on GPUs'. Together they form a unique fingerprint.

Cite this