Chapter 11

OpenCL Extensions

Introduction

Similar to most programming languages and frameworks, the OpenCL specification provides support for optional extensions. They represent a small but important set of extended OpenCL capabilities. In this chapter, we discuss a number of these extensions that can provide programmers an extended set of tools to implement OpenCL applications.

Overview of Extension Mechanism

OpenCL defines three types of extensions:

• KHR extension: Formally ratified by the OpenCL working group and comes with a set of conformance tests that any application claiming to support the extension must have passed. All KHR extensions are included as part of the OpenCL specification. In general, the goal is to keep the set of KHR extensions ...

Get Heterogeneous Computing with OpenCL, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.