Searched refs:DeviceInfo (Results 1 – 4 of 4) sorted by relevance
| /llvm-project-15.0.7/openmp/libomptarget/plugins/ve/src/ |
| H A D | rtl.cpp | 151 static RTLDeviceInfoTy DeviceInfo; variable 257 if (DeviceInfo.ProcHandles[ID] == NULL) { in __tgt_rtl_load_binary() 278 DeviceInfo.ProcHandles[ID] = proc_handle; in __tgt_rtl_load_binary() 281 if (DeviceInfo.Contexts[ID] == NULL) { in __tgt_rtl_load_binary() 289 DeviceInfo.Contexts[ID] = ctx; in __tgt_rtl_load_binary() 294 DeviceInfo.ProcHandles[ID], DeviceInfo.Contexts[ID]); in __tgt_rtl_load_binary() 314 DeviceInfo.DynLibs.push_back(Lib); in __tgt_rtl_load_binary() 315 DeviceInfo.LibraryHandles[ID] = LibHandle; in __tgt_rtl_load_binary() 320 return DeviceInfo.getOffloadTable(ID); in __tgt_rtl_load_binary() 344 if (DeviceInfo.ProcHandles[ID] == NULL) { in __tgt_rtl_data_alloc() [all …]
|
| /llvm-project-15.0.7/openmp/libomptarget/plugins/amdgpu/src/ |
| H A D | rtl.cpp | 1405 getLaunchVals(DeviceInfo().WarpSize[DeviceId], DeviceInfo().Env, in runRegionLocked() 2107 DeviceInfo().ComputeUnits[DeviceId], DeviceInfo().GPUName[DeviceId].c_str()); in __tgt_rtl_init_device() 2170 DeviceInfo().Env.TeamLimit); in __tgt_rtl_init_device() 2175 DeviceInfo().NumTeams[DeviceId] = DeviceInfo().Env.NumTeams; in __tgt_rtl_init_device() 2177 DeviceInfo().Env.NumTeams); in __tgt_rtl_init_device() 2185 DeviceInfo().NumTeams[DeviceId] = in __tgt_rtl_init_device() 2220 DeviceInfo().WarpSize[DeviceId], DeviceInfo().ThreadsPerGroup[DeviceId], in __tgt_rtl_init_device() 2233 DeviceInfo().LoadRunLock.lock(); in __tgt_rtl_load_binary() 2235 DeviceInfo().LoadRunLock.unlock(); in __tgt_rtl_load_binary() 2288 DeviceInfo().HSAExecutables); in __tgt_rtl_load_binary_locked() [all …]
|
| /llvm-project-15.0.7/openmp/libomptarget/plugins/generic-elf-64bit/src/ |
| H A D | rtl.cpp | 110 static RTLDeviceInfoTy DeviceInfo(NUMBER_OF_DEVICES); 222 DeviceInfo.DynLibs.push_back(Lib); in __tgt_rtl_load_binary() 247 DeviceInfo.createOffloadTable(DeviceId, EntriesBegin, EntriesEnd); in __tgt_rtl_load_binary() 251 return DeviceInfo.getOffloadEntriesTable(DeviceId); in __tgt_rtl_load_binary()
|
| /llvm-project-15.0.7/openmp/libomptarget/plugins/cuda/src/ |
| H A D | rtl.cpp | 1488 int initDeviceInfo(int DeviceId, __tgt_device_info *DeviceInfo, in initDeviceInfo() argument 1490 assert(DeviceInfo && "DeviceInfo is nullptr"); in initDeviceInfo() 1492 if (!DeviceInfo->Context) in initDeviceInfo() 1493 DeviceInfo->Context = DeviceData[DeviceId].Context; in initDeviceInfo() 1494 if (!DeviceInfo->Device) { in initDeviceInfo() 1498 DeviceInfo->Device = reinterpret_cast<void *>(Dev); in initDeviceInfo()
|