[llvm] [OFFLOAD] Remove unused init_device_info plugin interface (PR #162650)

Alex Duran via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 9 06:31:14 PDT 2025


================
@@ -2696,22 +2696,12 @@ struct AMDGPUDeviceTy : public GenericDeviceTy, AMDGenericDeviceTy {
                                           Size / PatternSize);
   }
 
-  /// Initialize the async info for interoperability purposes.
+  /// Initialize the async info
   Error initAsyncInfoImpl(AsyncInfoWrapperTy &AsyncInfoWrapper) override {
     // TODO: Implement this function.
     return Plugin::success();
   }
 
-  /// Initialize the device info for interoperability purposes.
-  Error initDeviceInfoImpl(__tgt_device_info *DeviceInfo) override {
----------------
adurang wrote:

Yes, it's still used as part of the interop object. It's just initialized differently.

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


More information about the llvm-commits mailing list