[Openmp-commits] [PATCH] D146689: [OpenMP] Add notifyDataUnmapped back in disassociatePtr

Ye Luo via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Thu Mar 23 06:58:06 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG3ab79124db5e: [OpenMP] Add notifyDataUnmapped back in disassociatePtr (authored by ye-luo).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146689/new/

https://reviews.llvm.org/D146689

Files:
  openmp/libomptarget/src/device.cpp


Index: openmp/libomptarget/src/device.cpp
===================================================================
--- openmp/libomptarget/src/device.cpp
+++ openmp/libomptarget/src/device.cpp
@@ -134,7 +134,7 @@
     if (Event)
       destroyEvent(Event);
     HDTTMap->erase(It);
-    return OFFLOAD_SUCCESS;
+    return notifyDataUnmapped(HstPtrBegin);
   }
 
   REPORT("Trying to disassociate a pointer which was not mapped via "


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146689.507730.patch
Type: text/x-patch
Size: 429 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230323/80778f9b/attachment.bin>


More information about the Openmp-commits mailing list