As soon as I create a window with glutCreateWindow(), I can’t create an opencl context with clCreateContext.
Error code is OUT_OF_RESOURCES.
I have the problem even with a properties without gl_sharing :
cl_context_properties properties =
{
CL_CONTEXT_PLATFORM, reinterpret_cast<cl_context_properties>(cl::platform),
0
};
If I don’t create the window, it works fine.
ps : I use kubuntu 10.04 64 bits, geforce 9800gt, and 256.35 drivers.