Changeset View
Changeset View
Standalone View
Standalone View
openmp/libomptarget/src/private.h
Show All 36 Lines | extern int targetDataUpdate(ident_t *Loc, DeviceTy &Device, int32_t ArgNum, | ||||
int64_t *ArgTypes, map_var_info_t *ArgNames, | int64_t *ArgTypes, map_var_info_t *ArgNames, | ||||
void **ArgMappers, AsyncInfoTy &AsyncInfo, | void **ArgMappers, AsyncInfoTy &AsyncInfo, | ||||
bool FromMapper = false); | bool FromMapper = false); | ||||
extern int target(ident_t *Loc, DeviceTy &Device, void *HostPtr, int32_t ArgNum, | extern int target(ident_t *Loc, DeviceTy &Device, void *HostPtr, int32_t ArgNum, | ||||
void **ArgBases, void **Args, int64_t *ArgSizes, | void **ArgBases, void **Args, int64_t *ArgSizes, | ||||
int64_t *ArgTypes, map_var_info_t *ArgNames, | int64_t *ArgTypes, map_var_info_t *ArgNames, | ||||
void **ArgMappers, int32_t TeamNum, int32_t ThreadLimit, | void **ArgMappers, int32_t TeamNum, int32_t ThreadLimit, | ||||
int IsTeamConstruct, AsyncInfoTy &AsyncInfo); | uint64_t Tripcount, int IsTeamConstruct, | ||||
AsyncInfoTy &AsyncInfo); | |||||
extern void handleTargetOutcome(bool Success, ident_t *Loc); | extern void handleTargetOutcome(bool Success, ident_t *Loc); | ||||
extern bool checkDeviceAndCtors(int64_t &DeviceID, ident_t *Loc); | extern bool checkDeviceAndCtors(int64_t &DeviceID, ident_t *Loc); | ||||
extern void *targetAllocExplicit(size_t Size, int DeviceNum, int Kind, | extern void *targetAllocExplicit(size_t Size, int DeviceNum, int Kind, | ||||
const char *Name); | const char *Name); | ||||
// This structure stores information of a mapped memory region. | // This structure stores information of a mapped memory region. | ||||
struct MapComponentInfoTy { | struct MapComponentInfoTy { | ||||
▲ Show 20 Lines • Show All 151 Lines • Show Last 20 Lines |