Chapter 6. Programs and Kernels
In Chapter 2, we created a simple example that executed a trivial parallel OpenCL kernel on a device. In that example, a kernel object and a program object were created in order to facilitate execution on the device. Program and kernel objects are fundamental in working with OpenCL, and in this chapter we cover these objects in more detail. Specifically, this chapter covers
• Source versus binary program creation
• Querying kernel and program objects
Program and Kernel Object Overview
Two of the most important objects in OpenCL are kernel objects and ...