ePrints.FRI - University of Ljubljana, Faculty of Computer and Information Science

Source-to-source Compilation of OpenACC

Gregor Vitek (2018) Source-to-source Compilation of OpenACC. MSc thesis.

[img]
Preview
PDF
Download (2352Kb)

    Abstract

    The OpenACC framework was created to alleviate the problems with programming graphical processing unit. We implemented a compiler, which added OpenACC support to the Java programming language. We used source-to-source translation to compile Java code annotated with OpenACC directives into Java code which uses OpenCL to execute computations on the GPU. The code compiled with our compiler is compatible with any Java compiler and runs on any machine that supports the Java virtual machine and OpenCL. Due to the size of the OpenACC standard, we focused mostly on the core features of the framework, such as loop parallelization and data transfer. The code generated with our compiler achieved around a 50\% speed-up, and achieved parity with native C++ programs using OpenCL.

    Item Type: Thesis (MSc thesis)
    Keywords: Compiler, GPU, OpenACC, OpenCL
    Number of Pages: 51
    Language of Content: Slovenian
    Mentor / Comentors:
    Name and SurnameIDFunction
    doc. dr. Boštjan Slivnik280Mentor
    Link to COBISS: http://www.cobiss.si/scripts/cobiss?command=search&base=51012&select=(ID=1538014403)
    Institution: University of Ljubljana
    Department: Faculty of Computer and Information Science
    Item ID: 4261
    Date Deposited: 26 Sep 2018 18:15
    Last Modified: 08 Nov 2018 14:13
    URI: http://eprints.fri.uni-lj.si/id/eprint/4261

    Actions (login required)

    View Item