[llvm] [Offload] Add device UID (PR #164391)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 21 06:18:31 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:
Well we should probably use UUIDs anyway if possible.
https://github.com/llvm/llvm-project/pull/164391
More information about the llvm-commits
mailing list