Home
last modified time | relevance | path

Searched refs:TgtPtrBegin (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/openmp/libomptarget/src/
Ddevice.cpp58 int DeviceTy::associatePtr(void *HstPtrBegin, void *TgtPtrBegin, int64_t Size) { in associatePtr() argument
66 search->TgtPtrBegin == (uintptr_t)TgtPtrBegin; in associatePtr()
83 (uintptr_t)TgtPtrBegin /*TgtPtrBegin*/, nullptr, in associatePtr()
89 DPxPTR(newEntry.TgtPtrBegin)); in associatePtr()
219 uintptr_t tp = HT.TgtPtrBegin + ((uintptr_t)HstPtrBegin - HT.HstPtrBegin); in getOrAllocTgtPtr()
300 uintptr_t tp = HT.TgtPtrBegin + ((uintptr_t)HstPtrBegin - HT.HstPtrBegin); in getTgtPtrBegin()
327 uintptr_t tp = HT.TgtPtrBegin + (hp - HT.HstPtrBegin); in getTgtPtrBegin()
349 DPxPTR(HT.TgtPtrBegin), Size); in deallocTgtPtr()
350 deleteData((void *)HT.TgtPtrBegin); in deallocTgtPtr()
353 DPxPTR(HT.HstPtrBegin), DPxPTR(HT.TgtPtrBegin), Size); in deallocTgtPtr()
[all …]
Domptarget.cpp350 void *TgtPtrBegin = Device.getOrAllocTgtPtr( in targetDataBegin() local
355 if (!TgtPtrBegin && (data_size || HasPresentModifier)) { in targetDataBegin()
362 " - is%s new\n", data_size, DPxPTR(TgtPtrBegin), in targetDataBegin()
367 void *TgtPtrBase = (void *)((uintptr_t)TgtPtrBegin - Delta); in targetDataBegin()
394 data_size, DPxPTR(HstPtrBegin), DPxPTR(TgtPtrBegin)); in targetDataBegin()
395 int rt = Device.submitData(TgtPtrBegin, HstPtrBegin, data_size, in targetDataBegin()
406 DPxPTR(PointerTgtPtrBegin), DPxPTR(TgtPtrBegin)); in targetDataBegin()
408 void *TgtPtrBase = (void *)((uint64_t)TgtPtrBegin - Delta); in targetDataBegin()
507 void *TgtPtrBegin = Device.getTgtPtrBegin( in targetDataEnd() local
509 if (!TgtPtrBegin && (DataSize || HasPresentModifier)) { in targetDataEnd()
[all …]
Ddevice.h51 uintptr_t TgtPtrBegin; // target info. member
62 TgtPtrBegin(TB), RefCount(IsINF ? INFRefCount : 1) {} in HstPtrBase()
186 int deallocTgtPtr(void *TgtPtrBegin, int64_t Size, bool ForceDelete,
188 int associatePtr(void *HstPtrBegin, void *TgtPtrBegin, int64_t Size);
205 int32_t deleteData(void *TgtPtrBegin);
210 int32_t submitData(void *TgtPtrBegin, void *HstPtrBegin, int64_t Size,
213 int32_t retrieveData(void *HstPtrBegin, void *TgtPtrBegin, int64_t Size,
Dprivate.h104 DPxPTR(HostTargetMap.TgtPtrBegin), in dumpTargetPointerMappings()