July 2011
Intermediate to advanced
648 pages
13h 2m
English
In the previous chapter, we introduced memory objects that are used to read, write, and copy memory to and from an OpenCL device. In this chapter, we introduce the image object, a specialized type of memory object that is used for accessing 2D and 3D image data. This chapter walks through an example of using image and sampler objects and introduces the following concepts:
• Overview of image and sampler objects
• Creating image and sampler objects
• Specifying and querying for image formats
• OpenCL C functions for working with images
• Transferring image object data
GPUs were originally designed for rendering high-performance 3D graphics. One of the most important features of the ...
Read now
Unlock full access