3

I want to find out which GPU is used by a process.
Since the Fall Creators Update the windows Task-Manager shows the used GPU per process:

enter image description here

Is there a way to get this information in C++?

I tried to search already existing solutions but did not find one. I am aware, that you can get the current adapter using IDXGIDevice::GetAdapter but I want to get the adapter which is used by another process.

Bennik2000
  • 1,112
  • 11
  • 25
  • AFAIK, this is not documented. The Process Hacker tool has some undocumented knowledge about it :https://github.com/processhacker/processhacker/blob/master/plugins/ExtendedTools/gpumon.c – Simon Mourier Apr 25 '20 at 15:10

0 Answers0