Home
last modified time | relevance | path

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

/external/llvm-project/openmp/libomptarget/src/
Drtl.cpp131 if (!(R.NumberOfDevices = R.number_of_devices())) { in LoadRTLs()
137 R.NumberOfDevices); in LoadRTLs()
160 unsigned TargetsTableMinimumSize = RTL.Idx + RTL.NumberOfDevices; in RegisterImageIntoTranslationTable()
168 for (int32_t i = 0; i < RTL.NumberOfDevices; ++i) { in RegisterImageIntoTranslationTable()
183 for (int32_t i = 0; i < RTL->NumberOfDevices; ++i) { in RegisterGlobalCtorsDtorsForImage()
278 PM->Devices.resize(Start + R.NumberOfDevices, device); in RegisterLib()
279 for (int32_t device_id = 0; device_id < R.NumberOfDevices; in RegisterLib()
290 : UsedRTLs.back()->Idx + UsedRTLs.back()->NumberOfDevices; in RegisterLib()
364 for (int32_t i = 0; i < FoundRTL->NumberOfDevices; ++i) { in UnregisterLib()
Drtl.h61 int32_t NumberOfDevices = -1; // Number of devices this RTL deals with. member
104 NumberOfDevices = r.NumberOfDevices; in RTLInfoTy()
/external/llvm-project/openmp/libomptarget/plugins/amdgpu/src/
Drtl.cpp311 int NumberOfDevices; member in RTLDeviceInfoTy
461 NumberOfDevices = (int)HSAAgents.size(); in RTLDeviceInfoTy()
463 if (NumberOfDevices == 0) { in RTLDeviceInfoTy()
467 DP("There are %d devices supporting HSA.\n", NumberOfDevices); in RTLDeviceInfoTy()
471 HSAQueues.resize(NumberOfDevices); in RTLDeviceInfoTy()
472 FuncGblEntries.resize(NumberOfDevices); in RTLDeviceInfoTy()
473 ThreadsPerGroup.resize(NumberOfDevices); in RTLDeviceInfoTy()
474 ComputeUnits.resize(NumberOfDevices); in RTLDeviceInfoTy()
475 GroupsPerDevice.resize(NumberOfDevices); in RTLDeviceInfoTy()
476 WarpSize.resize(NumberOfDevices); in RTLDeviceInfoTy()
[all …]
/external/llvm-project/openmp/libomptarget/plugins/cuda/src/
Drtl.cpp132 int NumberOfDevices; member in __anon3ed6d2340111::StreamManagerTy
170 StreamManagerTy(const int NumberOfDevices, in StreamManagerTy() argument
172 : NumberOfDevices(NumberOfDevices), EnvNumInitialStreams(32), in StreamManagerTy()
174 StreamPool.resize(NumberOfDevices); in StreamManagerTy()
175 NextStreamId.resize(NumberOfDevices); in StreamManagerTy()
176 StreamMtx.resize(NumberOfDevices); in StreamManagerTy()
191 for (int I = 0; I < NumberOfDevices; ++I) { in ~StreamManagerTy()
266 int NumberOfDevices; member in __anon3ed6d2340111::DeviceRTLTy
336 : NumberOfDevices(0), EnvNumTeams(-1), EnvTeamLimit(-1), in DeviceRTLTy()
346 Err = cuDeviceGetCount(&NumberOfDevices); in DeviceRTLTy()
[all …]
/external/webrtc/modules/video_capture/linux/
Ddevice_info_linux.h24 uint32_t NumberOfDevices() override;
Ddevice_info_linux.cc44 uint32_t DeviceInfoLinux::NumberOfDevices() { in NumberOfDevices() function in webrtc::videocapturemodule::DeviceInfoLinux
/external/webrtc/modules/video_capture/windows/
Ddevice_info_ds.h39 uint32_t NumberOfDevices() override;
Ddevice_info_ds.cc101 uint32_t DeviceInfoDS::NumberOfDevices() { in NumberOfDevices() function in webrtc::videocapturemodule::DeviceInfoDS
/external/webrtc/modules/video_capture/
Dvideo_capture.h26 virtual uint32_t NumberOfDevices() = 0;
/external/webrtc/modules/video_capture/test/
Dvideo_capture_unittest.cc156 number_of_devices_ = device_info_->NumberOfDevices(); in SetUp()
/external/webrtc/examples/peerconnection/client/
Dconductor.cc83 int num_devices = info->NumberOfDevices(); in Create()
/external/llvm-project/polly/tools/GPURuntime/
DGPUJIT.c379 static const int NumberOfDevices = 1; in initContextCL() local
380 Ret = clGetDeviceIDsFcnPtr(PlatformID, CL_DEVICE_TYPE_GPU, NumberOfDevices, in initContextCL()