After upgrading into Intel OpenCL SDK 1.5 a piece of code which calls clEnqueueCopyImage fails with the error CL_INVALID_VALUE when the images are made with clCreateFromGLTexture2D. The code worked on OpenCL SDK 1.1 and works with AMD drivers and it works when the images are made with clCreateImage2dD.
The standard says that CL_INVALID_VALUE represents that the the dst&src_origins are wrong or that the region falls outside of the images. We naturally checked that this is not the case. So either SDK 1.5 has a bug which prevents copying images made from OpenGL textures or it returns an invalid error message.
P.S Good job on the 1.5 SDK though. It does not leak memory nearly as much when using OpenGl interaction as the previous one did.


