Find out which GPU is driving the display

Hi all,

Is there a way in CUDA, to find out which GPU from among a number of GPUs, is being used for the display?

Thanks.

Yeah, any gpu that has a watchdog timeout. And that you can query (I think it is in devicequery)

Yeah, any gpu that has a watchdog timeout. And that you can query (I think it is in devicequery)

Thanks for the reply! I tried lsof | grep nvidia to see if that would give me any useful information, but it did not.

Also verified that my display GPU (8400) had kernelExecTimeoutEnabled = 1, and the Tesla C1060 did not.

Thanks for the reply! I tried lsof | grep nvidia to see if that would give me any useful information, but it did not.

Also verified that my display GPU (8400) had kernelExecTimeoutEnabled = 1, and the Tesla C1060 did not.