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

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 21 05:58:08 PDT 2025


================
@@ -715,6 +715,9 @@ GenericDeviceTy::GenericDeviceTy(GenericPluginTy &Plugin, int32_t DeviceId,
       DeviceId(DeviceId), GridValues(OMPGridValues),
       PeerAccesses(NumDevices, PeerAccessState::PENDING), PeerAccessesLock(),
       PinnedAllocs(*this), RPCServer(nullptr) {
+  DeviceUid = std::string(Plugin.getName()) + "-" +
----------------
jhuber6 wrote:

This does not seem like a UUID, what does OpenMP say about this?

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


More information about the llvm-commits mailing list