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

A framework for testing OpenCL implementations

Blaž Tomažič (2014) A framework for testing OpenCL implementations. EngD thesis.

Download (2051Kb)


    The thesis discusses implementation and use of a testing tool for testing implementations of the OpenCL standard. The standard defines an API interface, runtime environment and OpenCL C programming language, which together standardize programming of all processors supported by the implementation. Implementation of such a comprehensive standard is difficult and prone to errors, and therefore requires a suitable test tool. The testing tool written in the context of the thesis and sponsorship of the X.Org community represents an open-source solution of the problem. The developed tool enables quick writing of tests and is easily extendable. It introduces a test runner and types of tests which, depending on the configuration of a test, set a suitable OpenCL runtime environment and execute a test in it. Tests written for the tool are minimal and divided into a configuration structure for setting a runtime environment and a test function, or OpenCL C test program, for testing required functionality specified in the standard. With the addition of new types of tests the tool can be arbitrarily extended. The most advanced part of the tool allows implicit writing of tests for programming language OpenCL C where the configuration structure and the test are located in the OpenCL C source file. Merging of the testing tool with the Piglit testing tool adds automatic execution of groups of tests and graphical presentation of results.

    Item Type: Thesis (EngD thesis)
    Keywords: OpenCL, testing tool, open-source, development, Piglit
    Number of Pages: 72
    Language of Content: Slovenian
    Mentor / Comentors:
    Name and SurnameIDFunction
    doc. dr. Matija Marolt271Mentor
    Link to COBISS: http://www.cobiss.si/scripts/cobiss?command=search&base=50070&select=(ID=00010630996)
    Institution: University of Ljubljana
    Department: Faculty of Computer and Information Science
    Item ID: 2557
    Date Deposited: 19 May 2014 16:17
    Last Modified: 18 Jun 2014 09:17
    URI: http://eprints.fri.uni-lj.si/id/eprint/2557

    Actions (login required)

    View Item