Home
last modified time | relevance | path

Searched refs:DeviceTy (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/openmp/libomptarget/src/
Ddevice.cpp23 DeviceTy::DeviceTy(const DeviceTy &D) in DeviceTy() function in DeviceTy
31 DeviceTy &DeviceTy::operator=(const DeviceTy &D) { in operator =()
45 DeviceTy::DeviceTy(RTLInfoTy *RTL) in DeviceTy() function in DeviceTy
51 DeviceTy::~DeviceTy() { in ~DeviceTy()
58 int DeviceTy::associatePtr(void *HstPtrBegin, void *TgtPtrBegin, int64_t Size) { in associatePtr()
97 int DeviceTy::disassociatePtr(void *HstPtrBegin) { in disassociatePtr()
121 uint64_t DeviceTy::getMapEntryRefCnt(void *HstPtrBegin) { in getMapEntryRefCnt()
145 LookupResult DeviceTy::lookupMapping(void *HstPtrBegin, int64_t Size) { in lookupMapping()
196 void *DeviceTy::getOrAllocTgtPtr(void *HstPtrBegin, void *HstPtrBase, in getOrAllocTgtPtr()
283 void *DeviceTy::getTgtPtrBegin(void *HstPtrBegin, int64_t Size, bool &IsLast, in getTgtPtrBegin()
[all …]
Ddevice.h140 struct DeviceTy { struct
163 DeviceTy(RTLInfoTy *RTL); argument
167 DeviceTy(const DeviceTy &D);
169 DeviceTy &operator=(const DeviceTy &D); argument
171 ~DeviceTy();
174 bool isDataExchangable(const DeviceTy& DstDevice);
216 int32_t dataExchange(void *SrcPtr, DeviceTy &DstDev, void *DstPtr,
236 typedef std::vector<DeviceTy> DevicesTy;
Dprivate.h21 extern int targetDataBegin(DeviceTy &Device, int32_t arg_num, void **args_base,
26 extern int targetDataEnd(DeviceTy &Device, int32_t ArgNum, void **ArgBases,
31 extern int targetDataUpdate(DeviceTy &Device, int32_t arg_num, void **args_base,
71 typedef int (*TargetDataFuncPtrTy)(DeviceTy &, int32_t, void **, void **,
93 static inline void dumpTargetPointerMappings(const DeviceTy &Device) { in dumpTargetPointerMappings()
Dapi.cpp111 DeviceTy &Device = PM->Devices[device_num]; in omp_target_is_present()
160 DeviceTy &DstDev = PM->Devices[dst_device]; in omp_target_memcpy()
164 DeviceTy &SrcDev = PM->Devices[src_device]; in omp_target_memcpy()
168 DeviceTy &SrcDev = PM->Devices[src_device]; in omp_target_memcpy()
169 DeviceTy &DstDev = PM->Devices[dst_device]; in omp_target_memcpy()
266 DeviceTy &Device = PM->Devices[device_num]; in omp_target_associate_ptr()
293 DeviceTy &Device = PM->Devices[device_num]; in omp_target_disassociate_ptr()
DMemoryManager.h25 struct DeviceTy;
60 DeviceTy &Device;
82 MemoryManagerTy(DeviceTy &Dev, size_t Threshold = 0);
Domptarget.cpp54 static int InitLibrary(DeviceTy& Device) { in InitLibrary()
191 DeviceTy &Device = PM->Devices[device_id]; in CheckDeviceAndCtors()
211 int targetDataMapper(DeviceTy &Device, void *arg_base, void *arg, in targetDataMapper()
250 int targetDataBegin(DeviceTy &Device, int32_t arg_num, void **args_base, in targetDataBegin()
447 int targetDataEnd(DeviceTy &Device, int32_t ArgNum, void **ArgBases, in targetDataEnd()
642 static int targetDataContiguous(DeviceTy &Device, void *ArgsBase, in targetDataContiguous()
728 static int targetDataNonContiguous(DeviceTy &Device, void *ArgsBase, in targetDataNonContiguous()
772 int targetDataUpdate(DeviceTy &Device, int32_t ArgNum, void **ArgsBase, in targetDataUpdate()
871 DeviceTy &Device = PM->Devices[DeviceId]; in getLoopTripCount()
922 DeviceTy &Device;
[all …]
Drtl.cpp184 DeviceTy &Device = PM->Devices[RTL->Idx + i]; in RegisterGlobalCtorsDtorsForImage()
276 DeviceTy device(&R); in RegisterLib()
365 DeviceTy &Device = PM->Devices[FoundRTL->Idx + i]; in UnregisterLib()
Dinterface.cpp142 DeviceTy &Device = PM->Devices[device_id]; in __tgt_target_data_begin_mapper()
213 DeviceTy &Device = PM->Devices[device_id]; in __tgt_target_data_end_mapper()
283 DeviceTy &Device = PM->Devices[device_id]; in __tgt_target_data_update_mapper()
Drtl.h24 struct DeviceTy;
DMemoryManager.cpp88 MemoryManagerTy::MemoryManagerTy(DeviceTy &Dev, size_t Threshold) in MemoryManagerTy()