Add support for reading GPU's unique ID

Add support and testing for reading the Unique ID associated with a
specific GPU. This ID will persist across reboots, even if the GPU is
moved to a different machine. Note that this is per-GPU, not per-card,
as some cards have multiple GPUs, and each GPU will get a unique
identifier

Change-Id: Idce50c6febc2ceb1a4c1200d2489ec8b9d8fe174


[ROCm/amdsmi commit: 35d2807196]
This commit is contained in:
Kent Russell
2019-06-20 06:55:56 -04:00
parent 6ee763ee5b
commit dcc0969cc3
6 changed files with 48 additions and 0 deletions
Binary file not shown.