Windows Device Identifier

Hi,

I’m looking for a way to associate the numeric cuda device identifier with a physical device. I’m working on writing diagnostics for GPU using CUDA. It really does not help to let the user know that device 0 is not working as one will not be able to map it a physical device. This is a major problem when there are multiple GPUs in a system.

Can you please help me relate the numeric cuda device identifier to either a unique windows device identifier or to the unique PCI bus and slot location.

Thank you,

Regards,
Suresh.

My guess wouldbe that it is the same as the ordinal adapter number used by DirectX. If so then you could retrieve information relating to th device by calling IDirect3D9::GetAdapterIdentifier

Thank you. I will try this approach. I have never used DirectX before so it will be quite some time before I can reply to this thread if this idea worked or not.

Regards,

Suresh