Chapter 5

OpenCL runtime and concurrency model

Abstract

The OpenCL execution model is key to achieving a high level of performance across a range of architectures without extraordinary programming effort. This chapter discusses the different components of the execution model. The host-side execution model and the device-side execution model are explained. The device-side execution model also includes device-side enqueuing of kernels, which is a powerful new component of OpenCL 2.0.

Keywords

Execution model

nested parallelism

OpenCL execution

out-of-order command queues

data-parallel programming

task-parallel programming

Clang blocks

OpenCL supports a wide range of devices, ranging from discrete graphics processing unit (GPU) cards with thousands ...

Get Heterogeneous Computing with OpenCL 2.0 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.