Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/shim_and_sl/public/
DNeuralNetworksSupportLibraryImpl.h152 const uint32_t numModelCacheFiles,
185 uint32_t* numModelCacheFiles,
963 const uint32_t numModelCacheFiles,
975 uint32_t* numModelCacheFiles,
/packages/modules/NeuralNetworks/runtime/
DNeuralNetworks.cpp1689 const uint32_t numModelCacheFiles, in SL_ANeuralNetworksCompilation_setCachingFromFds() argument
1694 if (!compilation || (numModelCacheFiles != 0 && !modelCacheFds) || in SL_ANeuralNetworksCompilation_setCachingFromFds()
1700 return c->setCachingFromFds(modelCacheFds, numModelCacheFiles, dataCacheFds, numDataCacheFiles, in SL_ANeuralNetworksCompilation_setCachingFromFds()
1705 uint32_t* numModelCacheFiles, in SL_ANeuralNetworksDevice_getNumberOfCacheFilesNeeded() argument
1707 if (numModelCacheFiles) *numModelCacheFiles = 0; in SL_ANeuralNetworksDevice_getNumberOfCacheFilesNeeded()
1710 if (device == nullptr || numModelCacheFiles == nullptr || numDataCacheFiles == nullptr) { in SL_ANeuralNetworksDevice_getNumberOfCacheFilesNeeded()
1716 std::tie(*numModelCacheFiles, *numDataCacheFiles) = d->getNumberOfCacheFilesNeeded(); in SL_ANeuralNetworksDevice_getNumberOfCacheFilesNeeded()
DCompilationBuilder.cpp156 const uint32_t numModelCacheFiles, in setCachingFromFds() argument
164 auto modelCache = createCacheHandleVec(modelCacheFds, numModelCacheFiles); in setCachingFromFds()
DCompilationBuilder.h53 int setCachingFromFds(const int* modelCacheFds, const uint32_t numModelCacheFiles,
DManager.cpp101 const auto [numModelCacheFiles, numDataCacheFiles] = getNumberOfCacheFilesNeeded(); in isCachingSupported()
102 return numModelCacheFiles > 0 || numDataCacheFiles > 0; in isCachingSupported()
/packages/modules/NeuralNetworks/shim_and_sl/
DShimDevice.cpp137 uint32_t numModelCacheFiles; in getNumberOfCacheFilesNeeded() local
139 nnapi->SL_ANeuralNetworksDevice_getNumberOfCacheFilesNeeded(device, &numModelCacheFiles, in getNumberOfCacheFilesNeeded()
142 .numModelCache = static_cast<int32_t>(numModelCacheFiles), in getNumberOfCacheFilesNeeded()
/packages/modules/NeuralNetworks/runtime/test/
DSupportLibraryTestGenerated.cpp190 uint32_t numModelCacheFiles, numDataCacheFiles; in compileModel() local
192 device, &numModelCacheFiles, &numDataCacheFiles), in compileModel()
194 for (uint32_t i = 0; i < numModelCacheFiles; i++) { in compileModel()