Hi Forum,

I am creating a context with the opengl interoperability. I am checking if the created context is ok or not as follows:

Code :
 
cl_int status;
context = clCreateContext(.....,&status);
 
if(status != CL_SUCCESS)
{
         ....................
         ....................
}

Is this the only way to validate the created context is valid or not ?


Thanks
Sajjadul