[llvm] [Offload] Add device UID (PR #164391)

Michael Klemm via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 23 09:03:28 PDT 2025


================
@@ -29,6 +29,7 @@ def ol_device_info_t : Enum {
     TaggedEtor<"PLATFORM", "ol_platform_handle_t", "the platform associated with the device">,
     TaggedEtor<"NAME", "char[]", "Device name">,
     TaggedEtor<"PRODUCT_NAME", "char[]", "Device user-facing marketing name">,
+    TaggedEtor<"UID", "char[]", "Device UID">,
----------------
mjklemm wrote:

It's not a UUID, as it's not necessarily what is understood with it.  UUID is a 128-bit identifier, while the UID is vendor-specific string.  E.g., ROCm has some thingy with `GPU-` and a hex number.

https://github.com/llvm/llvm-project/pull/164391


More information about the llvm-commits mailing list