[llvm] [Offload] Add device UID (PR #164391)
    Robert Imschweiler via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Oct 21 12:15:14 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:
does the existence of these "devices" conform to the standard?
https://github.com/llvm/llvm-project/pull/164391
    
    
More information about the llvm-commits
mailing list