I am testing it on my computer with two NVIDIA GTX 550 ti GPUs.
As a result, all data is the same except for the bus identifier.
So, in nvapi use NvAPI_GPU_GetBusId, it will get an integer, for example 1, 2, ... then in the cuda API, use cudaDeviceGetPCIBusId, it will get a string, for example 0000: 01: 00.0.
compare the integer busID with the second part of the BusID String,
you can get their relationship.
Anders
source share