| /llvm-project-15.0.7/openmp/libomptarget/src/ |
| H A D | private.h | 49 extern bool checkDeviceAndCtors(int64_t &DeviceID, ident_t *Loc); 135 INFO(OMP_INFOTYPE_ALL, Device.DeviceID, in dumpTargetPointerMappings() 138 INFO(OMP_INFOTYPE_ALL, Device.DeviceID, "%-18s %-18s %s %s %s %s\n", in dumpTargetPointerMappings() 144 INFO(OMP_INFOTYPE_ALL, Device.DeviceID, in dumpTargetPointerMappings()
|
| H A D | device.cpp | 53 : DeviceID(-1), RTL(RTL), RTLDeviceID(-1), IsInit(false), InitFlag(), in DeviceTy() 58 if (DeviceID == -1 || !(getInfoLevel() & OMP_INFOTYPE_DUMP_TABLE)) in ~DeviceTy() 246 INFO(OMP_INFOTYPE_MAPPING_EXISTS, DeviceID, in getTargetPointer() 298 INFO(OMP_INFOTYPE_MAPPING_CHANGED, DeviceID, in getTargetPointer() 406 INFO(OMP_INFOTYPE_MAPPING_EXISTS, DeviceID, in getTgtPtrBegin() 460 INFO(OMP_INFOTYPE_MAPPING_CHANGED, DeviceID, in deallocTgtPtr() 532 INFO(OMP_INFOTYPE_DATA_TRANSFER, DeviceID, in submitData() 553 INFO(OMP_INFOTYPE_DATA_TRANSFER, DeviceID, in retrieveData()
|
| H A D | omptarget.cpp | 77 int32_t DeviceId = Device.DeviceID; in initLibrary() 286 bool checkDeviceAndCtors(int64_t &DeviceID, ident_t *Loc) { in checkDeviceAndCtors() argument 292 if (DeviceID == OFFLOAD_DEVICE_DEFAULT) { in checkDeviceAndCtors() 293 DeviceID = omp_get_default_device(); in checkDeviceAndCtors() 294 DP("Use default device id %" PRId64 "\n", DeviceID); in checkDeviceAndCtors() 304 if (DeviceID == omp_get_initial_device()) { in checkDeviceAndCtors() 306 DeviceID); in checkDeviceAndCtors() 311 if (!deviceIsReady(DeviceID)) { in checkDeviceAndCtors() 312 REPORT("Device %" PRId64 " is not ready.\n", DeviceID); in checkDeviceAndCtors() 318 DeviceTy &Device = *PM->Devices[DeviceID]; in checkDeviceAndCtors() [all …]
|
| H A D | rtl.cpp | 378 PM->Devices[Start + DeviceId]->DeviceID = Start + DeviceId; in initRTLonce()
|
| /llvm-project-15.0.7/polly/tools/GPURuntime/ |
| H A D | GPUJIT.c | 355 cl_device_id DeviceID = NULL; in initContextCL() local 381 &DeviceID, &NumDevicesRet); in initContextCL() 384 GlobalDeviceID = DeviceID; in initContextCL() 392 clGetDeviceInfoFcnPtr(DeviceID, CL_DEVICE_VERSION, sizeof(DeviceRevision), in initContextCL() 397 Ret = clGetDeviceInfoFcnPtr(DeviceID, CL_DEVICE_NAME, sizeof(DeviceName), in initContextCL() 401 debug_print("> Running on GPU device %d : %s.\n", DeviceID, DeviceName); in initContextCL() 415 clCreateContextFcnPtr(NULL, NumDevicesRet, &DeviceID, NULL, NULL, &Ret); in initContextCL() 421 DeviceID, ExtraProperties, &Ret); in initContextCL() 1167 int Major = 0, Minor = 0, DeviceID = 0; in initContextCUDA() local 1199 debug_print("> Running on GPU device %d : %s.\n", DeviceID, DeviceName); in initContextCUDA()
|
| /llvm-project-15.0.7/openmp/libomptarget/plugins/ve/src/ |
| H A D | rtl.cpp | 153 static int target_run_function_wait(uint32_t DeviceID, uint64_t FuncAddr, in target_run_function_wait() argument 158 veo_call_async(DeviceInfo.Contexts[DeviceID], FuncAddr, args); in target_run_function_wait() 168 int ret = veo_call_wait_result(DeviceInfo.Contexts[DeviceID], RequestHandle, in target_run_function_wait()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGOpenMPRuntime.cpp | 1620 DeviceID = ID.getDevice(); in getTargetEntryUniqueInfo() 1861 unsigned DeviceID; in emitDeclareTargetVarDefinition() local 4264 llvm::Value *DeviceID; in emitTaskInit() local 4270 AllocArgs.push_back(DeviceID); in emitTaskInit() 6419 unsigned DeviceID; in emitTargetOutlinedFunctionHelper() local 10275 llvm::Value *DeviceID; in emitTargetCall() local 10281 DeviceID = in emitTargetCall() 10509 unsigned DeviceID; in scanForTargetRegionsFunctions() local 11063 llvm::Value *DeviceID = nullptr; in emitTargetDataCalls() local 11114 llvm::Value *DeviceID = nullptr; in emitTargetDataCalls() local [all …]
|
| H A D | CGOpenMPRuntime.h | 627 void initializeTargetRegionEntryInfo(unsigned DeviceID, unsigned FileID, 631 void registerTargetRegionEntryInfo(unsigned DeviceID, unsigned FileID, 637 bool hasTargetRegionEntryInfo(unsigned DeviceID, unsigned FileID,
|
| /llvm-project-15.0.7/llvm/include/llvm/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.h | 845 Value *Ident, Value *DeviceID, Value *NumTeams, 973 struct MapperAllocas &MapperAllocas, int64_t DeviceID,
|
| /llvm-project-15.0.7/openmp/libomptarget/include/ |
| H A D | device.h | 310 int32_t DeviceID; member
|
| /llvm-project-15.0.7/llvm/lib/Frontend/OpenMP/ |
| H A D | OMPIRBuilder.cpp | 796 Value *DeviceID, Value *NumTeams, Value *NumThreads, Value *HostPtr, in emitTargetKernel() argument 812 SmallVector<Value *> OffloadingArgs{Ident, DeviceID, NumTeams, in emitTargetKernel() 3823 int64_t DeviceID, unsigned NumOperands) { in emitMapperCall() argument 3840 {SrcLocInfo, Builder.getInt64(DeviceID), in emitMapperCall()
|