Home
last modified time | relevance | path

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

/llvm-project-15.0.7/openmp/libomptarget/src/
H A Ddevice.cpp52 DeviceTy::DeviceTy(RTLInfoTy *RTL) in DeviceTy() function in DeviceTy
57 DeviceTy::~DeviceTy() { in ~DeviceTy()
479 void DeviceTy::init() { in init()
491 int32_t DeviceTy::initOnce() { in initOnce()
505 void DeviceTy::deinit() { in deinit()
568 int32_t DeviceTy::dataExchange(void *SrcPtr, DeviceTy &DstDev, void *DstPtr, in dataExchange()
614 bool DeviceTy::isDataExchangable(const DeviceTy &DstDevice) { in isDataExchangable()
631 int32_t DeviceTy::createEvent(void **Event) { in createEvent()
652 int32_t DeviceTy::syncEvent(void *Event) { in syncEvent()
659 int32_t DeviceTy::destroyEvent(void *Event) { in destroyEvent()
[all …]
H A Dprivate.h23 extern int targetDataBegin(ident_t *Loc, DeviceTy &Device, int32_t ArgNum,
29 extern int targetDataEnd(ident_t *Loc, DeviceTy &Device, int32_t ArgNum,
35 extern int targetDataUpdate(ident_t *Loc, DeviceTy &Device, int32_t ArgNum,
41 extern int target(ident_t *Loc, DeviceTy &Device, void *HostPtr, int32_t ArgNum,
84 typedef int (*TargetDataFuncPtrTy)(ident_t *, DeviceTy &, int32_t, void **,
128 DeviceTy &Device) { in dumpTargetPointerMappings()
129 DeviceTy::HDTTMapAccessorTy HDTTMap = in dumpTargetPointerMappings()
H A Dapi.cpp117 DeviceTy &Device = *PM->Devices[DeviceNum]; in omp_target_is_present()
181 DeviceTy &DstDev = *PM->Devices[DstDevice]; in omp_target_memcpy()
186 DeviceTy &SrcDev = *PM->Devices[SrcDevice]; in omp_target_memcpy()
191 DeviceTy &SrcDev = *PM->Devices[SrcDevice]; in omp_target_memcpy()
192 DeviceTy &DstDev = *PM->Devices[DstDevice]; in omp_target_memcpy()
301 DeviceTy &Device = *PM->Devices[DeviceNum]; in omp_target_associate_ptr()
331 DeviceTy &Device = *PM->Devices[DeviceNum]; in omp_target_disassociate_ptr()
H A Domptarget.cpp73 static int initLibrary(DeviceTy &Device) { in initLibrary()
138 DeviceTy::HDTTMapAccessorTy HDTTMap = in initLibrary()
318 DeviceTy &Device = *PM->Devices[DeviceID]; in checkDeviceAndCtors()
363 DeviceTy &Device = *PM->Devices[DeviceNum]; in targetAllocExplicit()
677 int targetDataEnd(ident_t *Loc, DeviceTy &Device, int32_t ArgNum, in targetDataEnd()
856 DeviceTy::HDTTMapAccessorTy HDTTMap = in targetDataEnd()
1134 DeviceTy &Device = *PM->Devices[DeviceId]; in getLoopTripCount()
1184 DeviceTy &Device;
1195 PrivateArgumentManagerTy(DeviceTy &Dev, AsyncInfoTy &AsyncInfo) in PrivateArgumentManagerTy()
1331 DeviceTy &Device = *PM->Devices[DeviceId]; in processDataBefore()
[all …]
H A Dinterface.cpp81 DeviceTy &Device = *PM->Devices[DeviceId]; in __tgt_target_data_begin_mapper()
130 DeviceTy &Device = *PM->Devices[DeviceId]; in __tgt_target_data_end_mapper()
180 DeviceTy &Device = *PM->Devices[DeviceId]; in __tgt_target_data_update_mapper()
245 DeviceTy &Device = *PM->Devices[DeviceId]; in __tgt_target_kernel()
H A Drtl.cpp270 DeviceTy &Device = *PM->Devices[RTL->Idx + I]; in registerGlobalCtorsDtorsForImage()
376 PM->Devices.push_back(std::make_unique<DeviceTy>(&R)); in initRTLonce()
511 DeviceTy &Device = *PM->Devices[FoundRTL->Idx + I]; in unregisterLib()
H A Dinterop.cpp208 DeviceTy &Device = *PM->Devices[DeviceId]; in __tgt_interop_init()
/llvm-project-15.0.7/openmp/libomptarget/include/
H A Ddevice.h149 int addEventIfNecessary(DeviceTy &Device, AsyncInfoTy &AsyncInfo) const;
309 struct DeviceTy { struct
341 DeviceTy(RTLInfoTy *RTL); argument
343 DeviceTy(const DeviceTy &D) = delete;
344 DeviceTy &operator=(const DeviceTy &D) = delete; argument
346 ~DeviceTy();
349 bool isDataExchangable(const DeviceTy &DstDevice);
424 int32_t dataExchange(void *SrcPtr, DeviceTy &DstDev, void *DstPtr,
487 std::vector<std::unique_ptr<DeviceTy>> Devices;
H A Domptarget.h178 struct DeviceTy;
189 DeviceTy &Device;
192 AsyncInfoTy(DeviceTy &Device) : Device(Device) {} in AsyncInfoTy()
H A Drtl.h24 struct DeviceTy;