having OpenCL and OpenGL play nice.

Discussion created by twiig on Feb 6, 2010
Latest reply on Feb 26, 2010 by gaurav.garg
cl/gl interoperability

long-story short, I have an application programmed using .NET CLI and wgl to create a standard OpenGL program.  After initializing the OpenGL context I setup (successfully) an OpenCL platform and context.  However, when I try to setup a device of type (CL_DEVICE_TYPE_GPU), I receive the CL_DEVICE_NOT_FOUND error code.  I believe I am setting this up in the proper order, but cannot verify this as all examples use GLUT for window/opengl context initialization.  When I switch it to ask for the CPU as the device, the program works smoothly.

Does anyone have any pointers that they could kick me, or know of any samples of this nature on the interweb?