[llvm] [Offload] Add device UID (PR #164391)
Robert Imschweiler via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 21 23:25:29 PDT 2025
================
@@ -148,7 +148,9 @@ struct GenELF64DeviceTy : public GenericDeviceTy {
/// Create the device with a specific id.
GenELF64DeviceTy(GenericPluginTy &Plugin, int32_t DeviceId,
int32_t NumDevices)
- : GenericDeviceTy(Plugin, DeviceId, NumDevices, GenELF64GridValues) {}
+ : GenericDeviceTy(Plugin, DeviceId, NumDevices, GenELF64GridValues) {
+ DeviceUid = getHostDeviceUid();
----------------
ro-i wrote:
Alright, then I'll give them their own UID
https://github.com/llvm/llvm-project/pull/164391
More information about the llvm-commits
mailing list