spectral

How to retreive the cl_device_id from cl::Device to cl_device_id

Discussion created by spectral on Jul 19, 2011
Latest reply on Jul 19, 2011 by Steveyoungs

I use different OpenCL API, the first on use cl::Device, cl::Platform, cl::Context, cl::Queue and the other library use cl_device_id, cl_context, cl_command_queue, cl_platform_id.

And I would like to retreive all the corresponding information for cl::Device etc... to convert them into cl_device_id (...).

 

It is possible ? How ?

 

Thanks

Outcomes