The Hitchhiker's Guide to Cross-Platform OpenCL Application Development
File(s)paper.pdf (339.07 KB)
Accepted version
Author(s)
Sorensen, T
Donaldson, AF
Type
Conference Paper
Abstract
One of the benefits to programming of OpenCL is platform portability. That is, an OpenCL program that follows the OpenCL specification should, in principle, execute reliably on any platform that supports OpenCL. To assess the current state of OpenCL portability, we provide an experience report examining two sets of open source benchmarks that we attempted to execute across a variety of GPU platforms, via OpenCL. We report on the portability issues we encountered, where applications would execute successfully on one platform but fail on another. We classify issues into three groups: (1) framework bugs, where the vendor-provided OpenCL framework fails; (2) specification limitations, where the OpenCL specification is unclear and where different GPU platforms exhibit different behaviours; and (3) programming bugs, where non-portability arises due to the program exercising behaviours that are incorrect or undefined according to the OpenCL specification. The issues we encountered slowed the development process associated with our sets of applications, but we view the issues as providing exciting motivation for future testing and verification efforts to improve the state of OpenCL portability; we conclude with a discussion of these.
Date Issued
2016-04-19
Date Acceptance
2016-01-01
Citation
Proceedings of the 4th International Workshop on OpenCL (IWOCL '16), 2016
ISBN
978-1-4503-4338-1
Publisher
ACM
Journal / Book Title
Proceedings of the 4th International Workshop on OpenCL (IWOCL '16)
Copyright Statement
© 2016 ACM. This is the author's version of the work. It is posted here for your personal use. Not for redistribution. The definitive Version of Record was published in Proceedings of the 4th International Workshop on OpenCL (IWOCL '16), http://dx.doi.org/10.1145/2909437.2909440.
Sponsor
GCHQ
Grant Number
N/A
Source
4th International Workshop on OpenCL (IWOCL '16)
Publication Status
Published
Start Date
2016-04-19
Finish Date
2016-04-21
Coverage Spatial
Vienna, Austria