GPU UUID using C++ on Nano Jetson Orin

Hi,

I am trying to read the GPU UUID on a Nano Jetson Orin board. Is there a register I could access directly to read this?
the NVML library is not installed on the system, only nvidia-smi, which I can use to read the UUID, but this is not relevant for my case, since I need to integrate this in our C/C++ Software.
What I need is the part of the code which reads the UUID inside the NVML, or at least the register from which the info can be read.

Hi,

Do you want the UUID as the nvidia-smi reported?
If yes, the information can be extracted by calling cudaGetDeviceProperties .

Below is an example from trtexec sample for your reference:

Thanks.