Re: Chapter 15 - Selecting first device is not appropriate or CLGL Interop
You already have the code to do this check in 15.2.2 but you don't have it in the examples. Also your description of the CL_CURRENT_DEVICE_FOR_GL_CONTEXT_KHR seems to not described what is actually being returned here. To be fair the description on the OpenCL 1.1 spec is pretty poor and non-specific about this parameter and you have to read the entire section and infer the correct information between multiple statements.
|