[Openmp-commits] [openmp] [OpenMP][FIX] Ensure we allow shared libraries without kernels (PR #74532)

Johannes Doerfert via Openmp-commits openmp-commits at lists.llvm.org
Tue Dec 5 14:41:34 PST 2023


================
@@ -790,7 +790,7 @@ Error GenericDeviceTy::deinit(GenericPluginTy &Plugin) {
                              &ImageDeviceMemoryPoolTracking);
       if (auto Err =
               GHandler.readGlobalFromDevice(*this, *Image, TrackerGlobal))
-        return Err;
+        continue;
----------------
jdoerfert wrote:

Isn't checking it enough? Why didn't I see an error... hmm

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


More information about the Openmp-commits mailing list