I want to use Open CL to run some computations and use AMD's GPU.
But this GPU is also used to display the GUI of the application which contains images, menus etc.
The libraries used for graphic is WPF.

Of course the GPU is also used for windows itself.

When I'm using the GPU to run Open CL how can I know that it is free and not used for other graphic tasks ?