In English

A Parallel Intermediate Representation for Embedded Languages

Ivar Lång
Göteborg : Chalmers tekniska högskola, 2013. 68 s.
[Examensarbete på avancerad nivå]

This thesis presents a parallel intermediate representation for embedded languages called PIRE, and its incorporation into the Feldspar language. The original Feldspar backend translates the parallel loops of Feldspar to ordinary for loops, meaning that they are not actually parallel in the generated code. We create an alternate backend for the Feldspar project, where the parallel loops of Feldspar are translated as OpenCL kernels that run on the GPU. We show that we gain performance using our new backend for big input sizes compared to the original backend.

Nyckelord: Data-Parallelism, Feldspar, IntermediateRepresentation, OpenCL

Publikationen registrerades 2013-10-01. Den ändrades senast 2013-10-01

CPL ID: 184387

Detta är en tjänst från Chalmers bibliotek