Lines Matching refs:DeviceId
77 int32_t DeviceId = Device.DeviceID; in initLibrary() local
96 if (TransTable->TargetsTable[DeviceId] != 0) { in initLibrary()
102 assert(TransTable->TargetsImages.size() > (size_t)DeviceId && in initLibrary()
104 __tgt_device_image *Img = TransTable->TargetsImages[DeviceId]; in initLibrary()
106 REPORT("No image loaded for device id %d.\n", DeviceId); in initLibrary()
111 __tgt_target_table *TargetTable = TransTable->TargetsTable[DeviceId] = in initLibrary()
116 DeviceId); in initLibrary()
117 TransTable->TargetsImages[DeviceId] = 0; in initLibrary()
131 DeviceId, Hsize, Tsize); in initLibrary()
132 TransTable->TargetsImages[DeviceId] = 0; in initLibrary()
133 TransTable->TargetsTable[DeviceId] = 0; in initLibrary()
1133 uint64_t getLoopTripCount(int64_t DeviceId) { in getLoopTripCount() argument
1134 DeviceTy &Device = *PM->Devices[DeviceId]; in getLoopTripCount()
1322 static int processDataBefore(ident_t *Loc, int64_t DeviceId, void *HostPtr, in processDataBefore() argument
1331 DeviceTy &Device = *PM->Devices[DeviceId]; in processDataBefore()
1453 static int processDataAfter(ident_t *Loc, int64_t DeviceId, void *HostPtr, in processDataAfter() argument
1460 DeviceTy &Device = *PM->Devices[DeviceId]; in processDataAfter()
1492 int32_t DeviceId = Device.DeviceID; in target() local
1505 assert(TM->Table->TargetsTable.size() > (size_t)DeviceId && in target()
1507 TargetTable = TM->Table->TargetsTable[DeviceId]; in target()
1512 Tripcount = Tripcount == -1UL ? getLoopTripCount(DeviceId) : Tripcount; in target()
1532 Ret = processDataBefore(Loc, DeviceId, HostPtr, ArgNum, ArgBases, Args, in target()
1566 Ret = processDataAfter(Loc, DeviceId, HostPtr, ArgNum, ArgBases, Args, in target()