I have seen no sample of OpenCL + OpenGL usage with Intel OpenCL SDK. However, the release notes indicate that cl_khr_gl_sharing extension is supported. I am not sure whether it will be possible to use both APIs together in an application. I have Intel Core i5 CPU and Intel HD 3000 GPU. Will I be able to use GL + CL with this hardware configuration on my laptop?
If such support really exists in the SDK, the I wonder why Intel does not ship any such sample with their OpenCL SDK just like AMD and NVIDIA do for their CL SDKs?
Can anybody refer me to some sample somewhere someone has successfully achieved this with Intel OpenCL SDK and the used system has Intel graphics (i.e. no AMD/NVIDIA GPU!)
Edit: To be be absolutely clear, I mean that interop code will still run when using the Intel OpenCL SDK. It will certainly not see any performance benifit as there cannot be one as Intel doesn't support running OpenCL kernels on their GPUs. So what I mean when I say it "works" I mean you do not have to rewrite the code (You may have to change image formats to something the Intel SDK supports). What seems to be happening is that the Intel SDK is doing a copy behind the scenes for you. This is of course exactly what you would do in the event you wrote the code yourself so there is no performance gain whatsoever. The only advantage is that you don't have to rewrite your code. I thought you knew this as the question does not make any sense otherwise as the Intel OpenCL SDK clearly states it does allow kernels to be run on the GPU only on the CPU.
That is thereason, I am not able to runeven the mostbasic CL/GL demo fromAMD CL SDK on my laptop. It fails in between or Isee black screen for the OpenGL rendering part.
If the support is limited, then may be I will need to modify those samples to make them run on my system. However, I am stillnot comfortable with the fact that why I seeno OpenCL GPU compute device for Intel GPU; only a compute device for CPU isavailable.
If you are confirming that it does work then will it be possible to share a very bare bone simple sample of OpenGL and OpenCL working togetherwith Intel OpenCLSDK to get me moving. Ihave no success so far withrunning basic samples from AMDAPP CL SDK.
As far as the CL-GL interopis concerned, ideallyit should work out-of-the-box with any GPU installed within the system. However, even though this may be true with AMD/NVIDIA GPUs, it does not necessarily appear to be the case with Intel Integrated Graphics.
Can you please confirm thatCL-GL interop withIntel OpenCL SDKhas been tested with Intel CPU + Intel GPU combination?
Regarding the sample, itwould be good if it available. Even a very bare-bone sample wouldsuffice, the point being to verify that CL-GL interop can work with this setup and then things can move forward and more complex applications can be developed afterwards.