[llvm] [Offload] Add a stub unloadBinaryImpl for host device (PR #145716)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 25 08:27:56 PDT 2025
================
@@ -147,6 +147,12 @@ struct GenELF64DeviceTy : public GenericDeviceTy {
/// Initialize the device, which is a no-op
Error initImpl(GenericPluginTy &Plugin) override { return Plugin::success(); }
+ /// Unload the binary image
+ ///
+ /// TODO: This currently does nothing, and should be implemented as part of
+ /// broader memory handling logic for this plugin
+ Error unloadBinaryImpl(DeviceImageTy *) override { return Plugin::success(); }
----------------
jhuber6 wrote:
Sure, though honestly there's probably a lot that needs to be fixed about this plugin.
https://github.com/llvm/llvm-project/pull/145716
More information about the llvm-commits
mailing list