Kernel composition in SYCL

Ralph Potter, Paul Keir, Russell J. Bradford, Alastair Murray

Research output: Chapter in Book/Report/Conference proceedingConference contribution

8 Citations (Scopus)

Abstract

Parallel primitives libraries reduce the burden of knowledge required for developers to begin developing parallel applications and accelerating them with OpenCL. Unfortunately some current libraries implement primitives as individual kernels and so incur a high performance cost in off-chip memory operations for intermediate variables. We describe a methodology for creating efficient domain specific embedded languages on top of the SYCL for OpenCL standard for parallel programming. Using this approach, a small example language was developed which provides an environment for composing image processing pipelines from a library of more primitive operations, while retaining the capability to generate a single kernel from a complex expression, and so eliminate unnecessary intermediate loads and stores to global memory. This elimination of global memory accesses leads to a 2.75x speedup over implementing an unsharp mask in OpenCLIPP. We give details of our domain specific embedded language, and provide experimental performance measurements of both primitive performance and an unsharp mask operation composed of multiple primitives.

Original languageEnglish
Title of host publicationProceedings of the 3rd International Workshop on OpenCL (IWOCL), 2015
Place of PublicationNew York, U. S. A.
PublisherAssociation for Computing Machinery
ISBN (Print)9781450334846
DOIs
Publication statusPublished - 12 May 2015
Event3rd International Workshop on OpenCL, IWOCL 2015 - Palo Alto, USA United States
Duration: 12 May 201513 May 2015

Conference

Conference3rd International Workshop on OpenCL, IWOCL 2015
CountryUSA United States
CityPalo Alto
Period12/05/1513/05/15

Keywords

  • GPUs
  • Kernel fusion
  • OpenCL
  • SYCL

Fingerprint Dive into the research topics of 'Kernel composition in SYCL'. Together they form a unique fingerprint.

  • Cite this

    Potter, R., Keir, P., Bradford, R. J., & Murray, A. (2015). Kernel composition in SYCL. In Proceedings of the 3rd International Workshop on OpenCL (IWOCL), 2015 [a11] Association for Computing Machinery. https://doi.org/10.1145/2791321.2791332