Chapter 5. Understanding OpenCL's Concurrency and Execution Model
OpenCL's relaxed execution and consistency model is the key to its efficient implementation on vendor hardware. In this chapter, we discuss this model and some of its implications.
Keywords Consistency, concurrency, execution, relaxed, synchronization


As discussed in Chapter 3, there is a wide range of devices supported by OpenCL. To achieve such wide support, it is vital that the memory and execution models for OpenCL are defined in such a way that we can achieve a high level of performance across a range of architectures without extraordinary programming effort. In this chapter, we delve deeper into these models, and in Chapter 6 we show how they map to a specific architecture ...

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