Empty UUID for PCIe records

I am using CUpti_ActivityPcie. When I get the record with type CUPTI_PCIE_DEVICE_TYPE_GPU, and try to get UUID of the GPU it’s empty.

If (strcmp(prec->attr.gpuAttr.uuidDev.bytes, “”)==0) printf("\n\nempty PCIe UUID!\n\n"); will print.

What should I do about it?

Hi,

Can you please provide details about what CUDA toolkit, driver version and GPU you are using? Do you see the GPU UUID in the Nvidia Visual Profiler which is displayed in the Properties view when the CUDA device is highlighted.

I am using the latest cupti(feb 2019) with cuda 10.1 and 10.0
I tried with Tesla GPU 0: Tesla P100-PCIE-16GB and Tesla V100-PCIE-16GB. In both of them the GPU UUID from PCI activity is empty.

I can see the UUID of the device using virtual profiler and nvidia-smi -L
NVIDIA-SMI 410.79 Driver Version: 410.79 CUDA Version: 10.0 for v100
NVIDIA-SMI 418.40.04 Driver Version: 418.40.04 CUDA Version: 10.1 for p100

Thanks for reporting this issue. We are able to reproduce and root cause the issue. It will be fixed in a future CUDA release.

Hi Pouya, this issue is fixed in the CUDA 10.2 release. Please check.