Lines Matching refs:Ret

590         int Ret = Device.submitData(PointerTgtPtrBegin, &TgtPtrBase,  in targetDataBegin()  local
592 if (Ret != OFFLOAD_SUCCESS) { in targetDataBegin()
681 int Ret; in targetDataEnd() local
699 Ret = targetDataMapper(Loc, Device, ArgBases[I], Args[I], ArgSizes[I], in targetDataEnd()
703 if (Ret != OFFLOAD_SUCCESS) { in targetDataEnd()
810 Ret = Device.retrieveData(HstPtrBegin, TgtPtrBegin, DataSize, in targetDataEnd()
812 if (Ret != OFFLOAD_SUCCESS) { in targetDataEnd()
844 Ret = AsyncInfo.synchronize(); in targetDataEnd()
845 if (Ret != OFFLOAD_SUCCESS) in targetDataEnd()
899 Ret = Device.deallocTgtPtr(HDTTMap, LR, Info.DataSize); in targetDataEnd()
901 if (Ret != OFFLOAD_SUCCESS) { in targetDataEnd()
908 return Ret; in targetDataEnd()
940 int Ret = Device.retrieveData(HstPtrBegin, TgtPtrBegin, ArgSize, AsyncInfo); in targetDataContiguous() local
941 if (Ret != OFFLOAD_SUCCESS) { in targetDataContiguous()
965 int Ret = Device.submitData(TgtPtrBegin, HstPtrBegin, ArgSize, AsyncInfo); in targetDataContiguous() local
966 if (Ret != OFFLOAD_SUCCESS) { in targetDataContiguous()
975 Ret = Device.submitData(Itr->second.TgtPtrAddr, &Itr->second.TgtPtrVal, in targetDataContiguous()
977 if (Ret != OFFLOAD_SUCCESS) in targetDataContiguous()
980 return Ret; in targetDataContiguous()
994 int Ret = OFFLOAD_SUCCESS; in targetDataNonContiguous() local
1002 Ret = targetDataNonContiguous(Loc, Device, ArgsBase, NonContig, Size, in targetDataNonContiguous()
1007 if (Ret != OFFLOAD_SUCCESS) in targetDataNonContiguous()
1008 return Ret; in targetDataNonContiguous()
1016 Ret = targetDataContiguous(Loc, Device, ArgsBase, Ptr, Size, ArgType, in targetDataNonContiguous()
1019 return Ret; in targetDataNonContiguous()
1050 int Ret = targetDataMapper(Loc, Device, ArgsBase[I], Args[I], ArgSizes[I], in targetDataUpdate() local
1054 if (Ret != OFFLOAD_SUCCESS) { in targetDataUpdate()
1064 int Ret = OFFLOAD_SUCCESS; in targetDataUpdate() local
1072 Ret = targetDataNonContiguous( in targetDataUpdate()
1076 Ret = targetDataContiguous(Loc, Device, ArgsBase[I], Args[I], ArgSizes[I], in targetDataUpdate()
1079 if (Ret == OFFLOAD_FAIL) in targetDataUpdate()
1225 int Ret = Device.submitData(TgtPtr, HstPtr, ArgSize, AsyncInfo); in addArg() local
1226 if (Ret != OFFLOAD_SUCCESS) { in addArg()
1280 int Ret = Device.submitData(TgtPtr, FirstPrivateArgBuffer.data(), in packAndTransfer() local
1282 if (Ret != OFFLOAD_SUCCESS) { in packAndTransfer()
1306 int Ret = Device.deleteData(P); in free() local
1307 if (Ret != OFFLOAD_SUCCESS) { in free()
1332 int Ret = targetDataBegin(Loc, Device, ArgNum, ArgBases, Args, ArgSizes, in processDataBefore() local
1334 if (Ret != OFFLOAD_SUCCESS) { in processDataBefore()
1381 Ret = Device.submitData(TgtPtrBegin, &PointerTgtPtrBegin, in processDataBefore()
1383 if (Ret != OFFLOAD_SUCCESS) { in processDataBefore()
1411 Ret = PrivateArgumentManager.addArg( in processDataBefore()
1414 if (Ret != OFFLOAD_SUCCESS) { in processDataBefore()
1442 Ret = PrivateArgumentManager.packAndTransfer(TgtArgs); in processDataBefore()
1443 if (Ret != OFFLOAD_SUCCESS) { in processDataBefore()
1463 int Ret = targetDataEnd(Loc, Device, ArgNum, ArgBases, Args, ArgSizes, in processDataAfter() local
1465 if (Ret != OFFLOAD_SUCCESS) { in processDataAfter()
1471 Ret = PrivateArgumentManager.free(); in processDataAfter()
1472 if (Ret != OFFLOAD_SUCCESS) { in processDataAfter()
1529 int Ret; in target() local
1532 Ret = processDataBefore(Loc, DeviceId, HostPtr, ArgNum, ArgBases, Args, in target()
1535 if (Ret != OFFLOAD_SUCCESS) { in target()
1550 Ret = Device.runTeamRegion(TgtEntryPtr, &TgtArgs[0], &TgtOffsets[0], in target()
1554 Ret = Device.runRegion(TgtEntryPtr, &TgtArgs[0], &TgtOffsets[0], in target()
1558 if (Ret != OFFLOAD_SUCCESS) { in target()
1566 Ret = processDataAfter(Loc, DeviceId, HostPtr, ArgNum, ArgBases, Args, in target()
1569 if (Ret != OFFLOAD_SUCCESS) { in target()