summaryrefslogtreecommitdiffstats
path: root/openmp/libomptarget/src/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'openmp/libomptarget/src/device.h')
-rw-r--r--openmp/libomptarget/src/device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/openmp/libomptarget/src/device.h b/openmp/libomptarget/src/device.h
index ded84e300ee..211507685a6 100644
--- a/openmp/libomptarget/src/device.h
+++ b/openmp/libomptarget/src/device.h
@@ -137,10 +137,10 @@ struct DeviceTy {
long getMapEntryRefCnt(void *HstPtrBegin);
LookupResult lookupMapping(void *HstPtrBegin, int64_t Size);
void *getOrAllocTgtPtr(void *HstPtrBegin, void *HstPtrBase, int64_t Size,
- bool &IsNew, bool IsImplicit, bool UpdateRefCount = true);
+ bool &IsNew, bool &IsHostPtr, bool IsImplicit, bool UpdateRefCount = true);
void *getTgtPtrBegin(void *HstPtrBegin, int64_t Size);
void *getTgtPtrBegin(void *HstPtrBegin, int64_t Size, bool &IsLast,
- bool UpdateRefCount);
+ bool UpdateRefCount, bool &IsHostPtr);
int deallocTgtPtr(void *TgtPtrBegin, int64_t Size, bool ForceDelete);
int associatePtr(void *HstPtrBegin, void *TgtPtrBegin, int64_t Size);
int disassociatePtr(void *HstPtrBegin);
OpenPOWER on IntegriCloud