Lines Matching refs:HstPtrBegin
280 void *HstPtrBegin = args[i]; in targetDataBegin() local
292 padding = (int64_t)HstPtrBegin % Alignment; in targetDataBegin()
295 "\n", padding, DPxPTR(HstPtrBegin)); in targetDataBegin()
296 HstPtrBegin = (char *) HstPtrBegin - padding; in targetDataBegin()
351 HstPtrBegin, HstPtrBase, data_size, HstPtrName, IsNew, IsHostPtr, in targetDataBegin()
366 uintptr_t Delta = (uintptr_t)HstPtrBegin - (uintptr_t)HstPtrBase; in targetDataBegin()
394 data_size, DPxPTR(HstPtrBegin), DPxPTR(TgtPtrBegin)); in targetDataBegin()
395 int rt = Device.submitData(TgtPtrBegin, HstPtrBegin, data_size, in targetDataBegin()
407 uint64_t Delta = (uint64_t)HstPtrBegin - (uint64_t)HstPtrBase; in targetDataBegin()
431 void *HstPtrBegin; member
441 : HstPtrBegin(HstPtr), DataSize(Size), ForceDelete(ForceDelete), in DeallocTgtPtrInfo()
480 void *HstPtrBegin = Args[I]; in targetDataEnd() local
488 int64_t Padding = (int64_t)HstPtrBegin % Alignment; in targetDataEnd()
492 Padding, DPxPTR(HstPtrBegin)); in targetDataEnd()
493 HstPtrBegin = (char *)HstPtrBegin - Padding; in targetDataEnd()
508 HstPtrBegin, DataSize, IsLast, UpdateRef, IsHostPtr, !IsImplicit); in targetDataEnd()
523 DPxPTR(HstPtrBegin), DataSize); in targetDataEnd()
559 TgtPtrBegin == HstPtrBegin)) { in targetDataEnd()
561 DataSize, DPxPTR(TgtPtrBegin), DPxPTR(HstPtrBegin)); in targetDataEnd()
562 Ret = Device.retrieveData(HstPtrBegin, TgtPtrBegin, DataSize, in targetDataEnd()
575 uintptr_t LB = (uintptr_t)HstPtrBegin; in targetDataEnd()
576 uintptr_t UB = (uintptr_t)HstPtrBegin + DataSize; in targetDataEnd()
610 DeallocTgtPtrs.emplace_back(HstPtrBegin, DataSize, ForceDelete, in targetDataEnd()
631 Ret = Device.deallocTgtPtr(Info.HstPtrBegin, Info.DataSize, in targetDataEnd()
643 void *HstPtrBegin, int64_t ArgSize, in targetDataContiguous() argument
646 void *TgtPtrBegin = Device.getTgtPtrBegin(HstPtrBegin, ArgSize, IsLast, false, in targetDataContiguous()
649 DP("hst data:" DPxMOD " not found, becomes a noop\n", DPxPTR(HstPtrBegin)); in targetDataContiguous()
653 DPxPTR(HstPtrBegin), ArgSize); in targetDataContiguous()
660 TgtPtrBegin == HstPtrBegin) { in targetDataContiguous()
662 DPxPTR(HstPtrBegin)); in targetDataContiguous()
668 ArgSize, DPxPTR(TgtPtrBegin), DPxPTR(HstPtrBegin)); in targetDataContiguous()
669 int Ret = Device.retrieveData(HstPtrBegin, TgtPtrBegin, ArgSize, nullptr); in targetDataContiguous()
675 uintptr_t LB = (uintptr_t)HstPtrBegin; in targetDataContiguous()
676 uintptr_t UB = (uintptr_t)HstPtrBegin + ArgSize; in targetDataContiguous()
695 ArgSize, DPxPTR(HstPtrBegin), DPxPTR(TgtPtrBegin)); in targetDataContiguous()
696 int Ret = Device.submitData(TgtPtrBegin, HstPtrBegin, ArgSize, nullptr); in targetDataContiguous()
702 uintptr_t LB = (uintptr_t)HstPtrBegin; in targetDataContiguous()
703 uintptr_t UB = (uintptr_t)HstPtrBegin + ArgSize; in targetDataContiguous()
896 const char *HstPtrBegin; member
906 : Index(Index), HstPtrBegin(reinterpret_cast<const char *>(HstPtr)), in FirstPrivateArgInfoTy()
907 HstPtrEnd(HstPtrBegin + Size), AlignedSize(Size + Size % Alignment), in FirstPrivateArgInfoTy()
1001 std::copy(Info.HstPtrBegin, Info.HstPtrEnd, Itr); in packAndTransfer()
1030 DPxPTR(Info.HstPtrBegin), Info.HstPtrEnd - Info.HstPtrBegin, in packAndTransfer()
1088 void *HstPtrBegin = ArgBases[I]; in processDataBefore() local
1094 uint64_t Delta = (uint64_t)HstPtrBegin - (uint64_t)HstPtrBase; in processDataBefore()
1104 TgtPtrBegin == HstPtrBegin) { in processDataBefore()
1121 void *HstPtrBegin = Args[I]; in processDataBefore() local
1133 TgtBaseOffset = (intptr_t)HstPtrBase - (intptr_t)HstPtrBegin; in processDataBefore()
1139 HstPtrBegin, ArgSizes[I], TgtBaseOffset, IsFirstPrivate, TgtPtrBegin, in processDataBefore()
1143 (IsFirstPrivate ? "first-" : ""), DPxPTR(HstPtrBegin)); in processDataBefore()
1149 TgtPtrBegin = Device.getTgtPtrBegin(HstPtrBegin, ArgSizes[I], IsLast, in processDataBefore()
1151 TgtBaseOffset = (intptr_t)HstPtrBase - (intptr_t)HstPtrBegin; in processDataBefore()
1155 DPxPTR(TgtPtrBase), DPxPTR(HstPtrBegin)); in processDataBefore()