[llvm] [Offload] Add device UID (PR #164391)
    Joseph Huber via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Oct 24 07:42:44 PDT 2025
    
    
  
================
@@ -1290,6 +1310,14 @@ struct GenericPluginTy {
     return UserDeviceIds.at(DeviceId);
   }
 
+  /// Get the UID for the given device.
+  const char *getDeviceUid(int32_t DeviceId) const {
----------------
jhuber6 wrote:
We really don't need a plugin-level interface into a device property. Users should get a device, then query it from the device.
https://github.com/llvm/llvm-project/pull/164391
    
    
More information about the llvm-commits
mailing list