23 Dec
2014
23 Dec
'14
10:12 a.m.
On 23.12.2014 10:20, Andrey Semashev wrote:
6. Is it possible to discover device capabilities? E.g. the amount of local memory (total/used/free), execution units, vendor and device name?
Yes, see http://kylelutz.github.io/compute/boost/compute/device.html Iterate over boost::compute::system::devices(), which returns a vector of all the devices across all available OpenCL platforms, and examine the properties you want. Cheers - Asbjørn