Searched refs:numModelCacheFiles (Results 1 – 7 of 7) sorted by relevance
/packages/modules/NeuralNetworks/shim_and_sl/public/ |
D | NeuralNetworksSupportLibraryImpl.h | 152 const uint32_t numModelCacheFiles, 185 uint32_t* numModelCacheFiles, 963 const uint32_t numModelCacheFiles, 975 uint32_t* numModelCacheFiles,
|
/packages/modules/NeuralNetworks/runtime/ |
D | NeuralNetworks.cpp | 1689 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()
|
D | CompilationBuilder.cpp | 156 const uint32_t numModelCacheFiles, in setCachingFromFds() argument 164 auto modelCache = createCacheHandleVec(modelCacheFds, numModelCacheFiles); in setCachingFromFds()
|
D | CompilationBuilder.h | 53 int setCachingFromFds(const int* modelCacheFds, const uint32_t numModelCacheFiles,
|
D | Manager.cpp | 101 const auto [numModelCacheFiles, numDataCacheFiles] = getNumberOfCacheFilesNeeded(); in isCachingSupported() 102 return numModelCacheFiles > 0 || numDataCacheFiles > 0; in isCachingSupported()
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimDevice.cpp | 137 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/ |
D | SupportLibraryTestGenerated.cpp | 190 uint32_t numModelCacheFiles, numDataCacheFiles; in compileModel() local 192 device, &numModelCacheFiles, &numDataCacheFiles), in compileModel() 194 for (uint32_t i = 0; i < numModelCacheFiles; i++) { in compileModel()
|