Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/
DExecutionPlan.cpp76 hidl_vec<hidl_handle> createCacheHandleVec(uint32_t numCacheFiles, const std::string& baseFileName, in createCacheHandleVec() argument
78 CHECK(numCacheFiles <= static_cast<uint32_t>(Constant::MAX_NUMBER_OF_CACHE_FILES)); in createCacheHandleVec()
79 hidl_vec<hidl_handle> handles(numCacheFiles); in createCacheHandleVec()
80 for (uint32_t i = 0; i < numCacheFiles; i++) { in createCacheHandleVec()
93 const std::pair<uint32_t, uint32_t>& numCacheFiles, bool createIfNotExist, in getCacheHandles() argument
106 *modelCache = createCacheHandleVec(numCacheFiles.first, cacheFileName, createIfNotExist); in getCacheHandles()
107 if (modelCache->size() != numCacheFiles.first) { in getCacheHandles()
111 *dataCache = createCacheHandleVec(numCacheFiles.second, cacheFileName, createIfNotExist); in getCacheHandles()
112 if (dataCache->size() != numCacheFiles.second) { in getCacheHandles()