I want to interop Opencl and Opengl and my device have cl_khr_gl_sharing extention but when I create context has error CL_OUT_OF_RESOURCES



cl_uint num_platforms;
err = clGetPlatformIDs(1,...