Lines Matching refs:NumberOfDevices
132 int NumberOfDevices; member in __anon7db00f8d0111::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 __anon7db00f8d0111::DeviceRTLTy
336 : NumberOfDevices(0), EnvNumTeams(-1), EnvTeamLimit(-1), in DeviceRTLTy()
346 Err = cuDeviceGetCount(&NumberOfDevices); in DeviceRTLTy()
350 if (NumberOfDevices == 0) { in DeviceRTLTy()
355 DeviceData.resize(NumberOfDevices); in DeviceRTLTy()
370 std::make_unique<StreamManagerTy>(NumberOfDevices, DeviceData); in DeviceRTLTy()
398 return DeviceId >= 0 && DeviceId < NumberOfDevices; in isValidDeviceId()
401 int getNumOfDevices() const { return NumberOfDevices; } in getNumOfDevices()