cluGetDeviceInfo should query properties of specific device #2

Closed
Computing-Language-Utility opened this Issue Aug 14, 2012 · 1 comment

Projects

None yet

1 participant

@Computing-Language-Utility

Would be nice to query the properties of a specific device. E.g. use query to find a device that supports a specific extension, then initialize clu to use that device by default. Or start up CLU, then query the properties of the devices it picked for the default context.

@Computing-Language-Utility

Version 1.02 of CLU contains "cluGetDeviceInfo" which has a device Id parameter and returns a structure containing all the device properties. Wouldn't it be nice if this is how OpenCL core worked? It could be very efficient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment