[Openmp-commits] [PATCH] D78744: [libomptarget] Initialize reference parameter IsNew within Device::getOrAllocTgtPtr
Ron Lieberman via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Apr 24 14:06:14 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGee9c53d27106: [libomptarget] Initialize reference parameter IsNew within Deviceā¦ (authored by ronlieb).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D78744/new/
https://reviews.llvm.org/D78744
Files:
openmp/libomptarget/src/device.cpp
Index: openmp/libomptarget/src/device.cpp
===================================================================
--- openmp/libomptarget/src/device.cpp
+++ openmp/libomptarget/src/device.cpp
@@ -157,6 +157,7 @@
bool UpdateRefCount, bool HasCloseModifier) {
void *rc = NULL;
IsHostPtr = false;
+ IsNew = false;
DataMapMtx.lock();
LookupResult lr = lookupMapping(HstPtrBegin, Size);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78744.259989.patch
Type: text/x-patch
Size: 398 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20200424/a9b9ba2a/attachment.bin>
More information about the Openmp-commits
mailing list