Hi,
I would like to know if it is normal that my clCreateContextFromType fails with -1000 (not referenced error by the way) when I am trying to setup
The platform variable below contains a platform value for the HD4000.
I know that it works because it is fine when I am using without the OpenGL parameters.
opengl_context = wglGetCurrentContext();
opengl_hdc = wglGetCurrentDC();
cl_context_properties cps[] = {
CL_GL_CONTEXT_KHR,
(cl_context_properties)opengl_context,
CL_WGL_HDC_KHR,
(cl_context_properties) opengl_hdc,
CL_CONTEXT_PLATFORM,
(cl_context_properties)platform,
0
};
m_context = (void*)clCreateContextFromType(cps, CL_DEVICE_TYPE_GPU, NULL, NULL, &status);
status = -1000 here
Thanks.
I have attached my configuration file. I also have an NVidia GTX580 in the same machine for my second monitor.
The application is always running on the first monitor driven by the HD4000.
Laurent


