O'Reilly logo

OpenCL Programming by Example by Koushik Bhattacharyya, Ravishekhar Banger

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. OpenCL-OpenGL Interoperation

In this chapter we will discuss OpenCL and OpenGL interoperation, which in its simple form means sharing of data between OpenGL and OpenCL in a program that uses both. Interoperation is commonly abbreviated as interop.

OpenGL was first released in January 1992 for proving graphics acceleration APIs. OpenCL was first released in December 2008 for accelerating general purpose computing. Both OpenCL and OpenGL use a GPU for their acceleration (OpenCL can use many other devices though). This OpenCL-GL Interoperation feature was introduced from the earliest version of OpenCL, that is, 1.0, but was really improved in OpenCL 1.1 by linking OpenCL and OpenGL events and efficient sharing of image and buffers. The ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required