[Openmp-commits] [PATCH] D146689: [OpenMP] Add notifyDataUnmapped bacl in disassociatePtr
Ye Luo via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Mar 22 22:17:15 PDT 2023
ye-luo created this revision.
Herald added subscribers: sunshaoce, guansong, yaxunl.
Herald added a project: All.
ye-luo requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: openmp-commits, jplehr, sstefan1.
Herald added a project: OpenMP.
Fix regression introduced by https://reviews.llvm.org/D123446
Repository:
rG LLVM Github Monorepo
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.507608.patch
Type: text/x-patch
Size: 429 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230323/5f2a0cd4/attachment-0001.bin>
More information about the Openmp-commits
mailing list