Lines Matching defs:Device
99 auto Device = std::make_unique<DeviceTy>(&Plugin, UserId, DeviceId);
100 if (auto Err = Device->init()) {
106 ExclusiveDevicesAccessor->push_back(std::move(Device));
271 for (const auto &Device : *ExclusiveDevicesAccessor)
272 UseAutoZeroCopy &= Device->useAutoZeroCopy();
285 int target(ident_t *Loc, DeviceTy &Device, void *HostPtr,
353 static int loadImagesOntoDevice(DeviceTy &Device) {
357 int32_t DeviceId = Device.DeviceID;
388 auto BinaryOrErr = Device.loadBinary(Img);
405 if (Device.RTL->get_global(Binary, Entry.Size, Entry.SymbolName,
414 if (Device.RTL->data_submit(DeviceId, DeviceEntry.Address,
420 if (Device.RTL->get_function(Binary, Entry.SymbolName,
455 Device.getMappingInfo().HostDataToTargetMap.getExclusiveAccessor();
474 if (Device.getMappingInfo().getTgtPtrBegin(
483 AsyncInfoTy AsyncInfo(Device);
485 Device.retrieveData(&DevPtr, CurrDeviceEntryAddr, sizeof(void *),
507 if (Device.notifyDataMapped(CurrHostEntry->Address,
512 Device.setHasPendingImages(false);
521 Device.dumpOffloadEntries();
533 "Device number '%i' out of range, only %i devices available",