Meteorhead

select/exclude devices

Discussion created by Meteorhead on Jul 25, 2011
Latest reply on Jul 26, 2011 by Meteorhead

Hi!

My question is, if I were to enchance my OCL framework with a neat device selection model, is there any way to determine which device is used for render?

In the DX/GL interop applications upon creating context, we have to assign a valid render context also. But how does that hold device information on OCL level?

Or to paraphrase the question: how can one dynamically detect which OpenCL device is used for DX/GL render by the application. Being able to detect this could allow applications to detect whether a system has multiple GPUs inside, being able to exclude devices that are used for render, and calculate (physics, or anything else) on a different, possibly idle device. Thus with a well wirtten framework and/or application can use intelligent load balancing for all system setups.

Outcomes