Chapter 2. Introduction to OpenCL
This chapter introduces the OpenCL specification, including both the host applications programming interface (API) and OpenCL C language. A full vector addition listing is provided and is referenced throughout the chapter to demonstrate host API calls.
Keywords Introduction, OpenCL

Introduction

This chapter introduces OpenCL, the programming fabric that will allow us to weave our application to execute concurrently. Programmers familiar with C and C++ should have little trouble understanding the OpenCL syntax. We begin by reviewing the OpenCL standard.

The OpenCL Standard

Open programming standards designers are tasked with a very challenging objective: arrive at a common set of programming standards that are acceptable ...

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.