Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/runtime/
DManager.cpp365 uint32_t numCacheFiles, const std::string& baseFilename, bool createIfNotExist) { in createCacheHandleVec() argument
366 CHECK(numCacheFiles <= kMaxNumberOfCacheFiles); in createCacheHandleVec()
368 handles.reserve(numCacheFiles); in createCacheHandleVec()
369 for (uint32_t i = 0; i < numCacheFiles; i++) { in createCacheHandleVec()
381 const std::pair<uint32_t, uint32_t>& numCacheFiles, bool createIfNotExist) { in getCacheHandles() argument
383 if (cacheHandles->modelCache.size() != numCacheFiles.first) { in getCacheHandles()
385 << "Expected " << numCacheFiles.first << " model cache handles, got " in getCacheHandles()
388 if (cacheHandles->dataCache.size() != numCacheFiles.second) { in getCacheHandles()
390 << "Expected " << numCacheFiles.second << " data cache handles, got " in getCacheHandles()
411 NN_TRY(createCacheHandleVec(numCacheFiles.first, cacheFileName, createIfNotExist)); in getCacheHandles()
[all …]