In the code:
// First get the size of the devices buffer
errNum = clGetContextInfo(context, CL_CONTEXT_DEVICES, 0, NULL, &deviceBufferSize);
if (errNum != CL_SUCCESS)
{
std::cerr << "Failed call to clGetContextInfo(...,GL_CONTEXT_DEVICES,...)";
return NULL;
}
The error message should refer to CL_CONTEXT_DEVICES (not GL_*).
Original issue reported on code.google.com by chen...@gmail.com on 24 Jan 2012 at 2:38
Original issue reported on code.google.com by
chen...@gmail.com
on 24 Jan 2012 at 2:38