Lines Matching refs:devices
80 cl_device_id devices[MAX_DEVICES]; in CreateCLContext() local
125 sizeof(devices), in CreateCLContext()
126 devices, in CreateCLContext()
137 sizeof(devices), in CreateCLContext()
138 devices, in CreateCLContext()
147 log_info("GL context current device: 0x%x\n", devices[0]); in CreateCLContext()
149 if (m_devices[i] == devices[0]) { in CreateCLContext()
150 ctxDevice = devices[0]; in CreateCLContext()
163 cl_device_id devices[MAX_DEVICES]; in SupportsCLGLInterop() local
171 error = clGetDeviceIDs(m_platform, device_type, MAX_DEVICES, devices, &num_of_devices); in SupportsCLGLInterop()
179 if (!is_extension_available(devices[i], "cl_khr_gl_sharing")) { in SupportsCLGLInterop()
183 m_devices[m_device_count++] = devices[i]; in SupportsCLGLInterop()