Hello all~
Is it possible to detect which device(device ID) is running?
for example (C2050)
thanks :)
Hello all~
Is it possible to detect which device(device ID) is running?
for example (C2050)
thanks :)
If you just want the model number, like “Tesla C2050”, then take a look at the name field in the cudaDeviceProp struct. The cudaGetDeviceProperties() function will get you the cudaDeviceProp for whatever device you request.
This struct also contains a pciDeviceID field, which will be useful if you have two cards with the same model number you want to tell apart.