concept this appendix in category opencl

appears as: this appendix
OpenCL in Action: How to Accelerate Graphics and Computation

This is an excerpt from Manning's book OpenCL in Action: How to Accelerate Graphics and Computation.

There’s no getting around it. If you want to build an application based on OpenCL, you need to install a software development kit (SDK). These are freely available as web downloads, but depending on your operating system and hardware vendor, they can be confusing to work with. The goal of this appendix is to help alleviate this confusion. Specifically, this appendix will explain how to obtain, install, and use an SDK capable of running on your system. But first, let’s look at OpenCL SDKs in general.

OpenGL is a vast topic, and for a full discussion of the API, I recommend The OpenGL SuperBible by Richard S. Wright et al. In contrast, the humble goal of this appendix is to provide you with enough background to enable you to code simple 3-D applications. The discussion will follow the right side of figure B.2. We’ll examine how the host packages data first and then look at how to code vertex and fragment shaders. Then we’ll see how the OpenGL Utility Toolkit (GLUT) creates windows that OpenGL applications can draw on.