Home
last modified time | relevance | path

Searched refs:NumberOfDevices (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/openmp/libomptarget/src/
H A Drtl.cpp164 if (!(R.NumberOfDevices = R.number_of_devices())) { in loadRTLs()
178 R.NumberOfDevices); in loadRTLs()
245 unsigned TargetsTableMinimumSize = RTL.Idx + RTL.NumberOfDevices; in registerImageIntoTranslationTable()
253 for (int32_t I = 0; I < RTL.NumberOfDevices; ++I) { in registerImageIntoTranslationTable()
269 for (int32_t I = 0; I < RTL->NumberOfDevices; ++I) { in registerGlobalCtorsDtorsForImage()
371 if (!R.IsUsed && R.NumberOfDevices != 0) { in initRTLonce()
374 PM->Devices.reserve(Start + R.NumberOfDevices); in initRTLonce()
375 for (int32_t DeviceId = 0; DeviceId < R.NumberOfDevices; DeviceId++) { in initRTLonce()
386 : UsedRTLs.back()->Idx + UsedRTLs.back()->NumberOfDevices; in initRTLonce()
510 for (int32_t I = 0; I < FoundRTL->NumberOfDevices; ++I) { in unregisterLib()
/llvm-project-15.0.7/openmp/libomptarget/plugins/amdgpu/src/
H A Drtl.cpp457 int NumberOfDevices = 0; member in RTLDeviceInfoTy
1008 NumberOfDevices = (int)HSAAgents.size(); in RTLDeviceInfoTy()
1010 if (NumberOfDevices == 0) { in RTLDeviceInfoTy()
1018 FuncGblEntries.resize(NumberOfDevices); in RTLDeviceInfoTy()
1019 ThreadsPerGroup.resize(NumberOfDevices); in RTLDeviceInfoTy()
1020 ComputeUnits.resize(NumberOfDevices); in RTLDeviceInfoTy()
1021 GPUName.resize(NumberOfDevices); in RTLDeviceInfoTy()
1023 WarpSize.resize(NumberOfDevices); in RTLDeviceInfoTy()
1024 NumTeams.resize(NumberOfDevices); in RTLDeviceInfoTy()
1025 NumThreads.resize(NumberOfDevices); in RTLDeviceInfoTy()
[all …]
/llvm-project-15.0.7/openmp/libomptarget/plugins/cuda/src/
H A Drtl.cpp329 int NumberOfDevices; member in __anondfa3b3cd0111::DeviceRTLTy
522 Err = cuDeviceGetCount(&NumberOfDevices); in DeviceRTLTy()
526 if (NumberOfDevices == 0) { in DeviceRTLTy()
531 DeviceData.resize(NumberOfDevices); in DeviceRTLTy()
532 Modules.resize(NumberOfDevices); in DeviceRTLTy()
533 StreamPool.resize(NumberOfDevices); in DeviceRTLTy()
534 EventPool.resize(NumberOfDevices); in DeviceRTLTy()
535 PeerAccessMatrix.resize(NumberOfDevices); in DeviceRTLTy()
567 for (int I = 0; I < NumberOfDevices; ++I) in DeviceRTLTy()
576 for (int I = 0; I < NumberOfDevices; ++I) in DeviceRTLTy()
[all …]
/llvm-project-15.0.7/openmp/libomptarget/plugins/remote/server/
H A DServer.cpp92 I32 *NumberOfDevices) { in GetNumberOfDevices() argument
98 Devices += RTL.NumberOfDevices; in GetNumberOfDevices()
101 NumberOfDevices->set_number(Devices); in GetNumberOfDevices()
348 if (RTLDeviceID - RTL->NumberOfDevices >= 0) in mapHostRTLDeviceId()
349 RTLDeviceID -= RTL->NumberOfDevices; in mapHostRTLDeviceId()
H A DServer.h72 I32 *NumberOfDevices) override;
/llvm-project-15.0.7/openmp/libomptarget/include/
H A Drtl.h78 int32_t NumberOfDevices = -1; // Number of devices this RTL deals with. member
/llvm-project-15.0.7/polly/tools/GPURuntime/
H A DGPUJIT.c379 static const int NumberOfDevices = 1; in initContextCL() local
380 Ret = clGetDeviceIDsFcnPtr(PlatformID, CL_DEVICE_TYPE_GPU, NumberOfDevices, in initContextCL()