July 2011
Intermediate to advanced
648 pages
13h 2m
English
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
• Program and kernel object overview
• Creating program objects and building programs
• Creating kernel objects and setting kernel arguments
• Source versus binary program creation
• Querying kernel and program objects
Two of the most important objects in OpenCL are kernel objects and ...
Read now
Unlock full access