Bug 1089 - Add API to list possible CL devices for CLGLContext creation
Summary: Add API to list possible CL devices for CLGLContext creation
Status: UNCONFIRMED
Alias: None
Product: Jocl
Classification: JogAmp
Component: opengl (show other bugs)
Version: 1
Hardware: All all
: --- enhancement
Assignee: Wade Walker
URL:
Depends on:
Blocks:
 
Reported: 2014-10-06 13:41 CEST by Thomas De Bodt
Modified: 2014-10-08 08:55 CEST (History)
2 users (show)

See Also:
Type: ---
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas De Bodt 2014-10-06 13:41:17 CEST
The CLGLContext class contains factory methods that accept a CLPlatform and CLDevice's. However there is no API to determine which CLDevice can be use with a certain GLContext.

From the OpenCL 1.1. spec it seems you can retrieve this information using clGetGLContextInfoKHR.