Lines Matching refs:numDevices
620 int ANeuralNetworks_getDeviceCount(uint32_t* numDevices) { in ANeuralNetworks_getDeviceCount() argument
621 if (numDevices == nullptr) { in ANeuralNetworks_getDeviceCount()
625 *numDevices = DeviceManager::get()->getDrivers().size(); in ANeuralNetworks_getDeviceCount()
703 uint32_t numDevices, bool* supportedOps) { in ANeuralNetworksModel_getSupportedOperationsForDevices() argument
709 if (numDevices == 0) { in ANeuralNetworksModel_getSupportedOperationsForDevices()
725 for (uint32_t i = 0; i < numDevices; i++) { in ANeuralNetworksModel_getSupportedOperationsForDevices()
731 for (uint32_t j = i + 1; j < numDevices; j++) { in ANeuralNetworksModel_getSupportedOperationsForDevices()
752 uint32_t numDevices, in ANeuralNetworksCompilation_createForDevices() argument
760 if (numDevices == 0) { in ANeuralNetworksCompilation_createForDevices()
766 for (uint32_t i = 0; i < numDevices; i++) { in ANeuralNetworksCompilation_createForDevices()
772 for (uint32_t j = i + 1; j < numDevices; j++) { in ANeuralNetworksCompilation_createForDevices()
788 if (selectedDevices.size() != numDevices) { in ANeuralNetworksCompilation_createForDevices()