Home
last modified time | relevance | path

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

/frameworks/ml/nn/runtime/
DVersionedInterfaces.cpp1148 bool createIfNotExist, hidl_vec<hidl_handle>* modelCache, in getCacheHandles() argument
1163 *modelCache = createCacheHandleVec(numCacheFiles.first, cacheFileName, createIfNotExist); in getCacheHandles()
1164 if (modelCache->size() != numCacheFiles.first) { in getCacheHandles()
1170 modelCache->resize(0); in getCacheHandles()
1216 hidl_vec<hidl_handle> modelCache, dataCache; in prepareModelInternal() local
1219 /*createIfNotExist=*/true, &modelCache, &dataCache)) { in prepareModelInternal()
1220 modelCache.resize(0); in prepareModelInternal()
1235 [&model, preference, priority, &otp, &modelCache, &dataCache, &token, in prepareModelInternal()
1237 return device->prepareModel_1_3(model, preference, priority, otp, modelCache, in prepareModelInternal()
1274 [&model12, &preference, &modelCache, &dataCache, &token, in prepareModelInternal()
[all …]
/frameworks/ml/nn/driver/sample/
DSampleDriver.h90 const hal::hidl_vec<hal::hidl_handle>& modelCache,
96 const hal::hidl_vec<hal::hidl_handle>& modelCache,
100 const hal::hidl_vec<hal::hidl_handle>& modelCache,
105 const hal::hidl_vec<hal::hidl_handle>& modelCache,
DSampleDriverPartial.h46 const hal::hidl_vec<hal::hidl_handle>& modelCache,
/frameworks/ml/nn/runtime/test/
DTestExecution.cpp335 const OptionalTimePoint& deadline, const hidl_vec<hidl_handle>& modelCache, in prepareModel_1_3() argument
340 model, preference, priority, deadline, modelCache, dataCache, token, localCallback); in prepareModel_1_3()
365 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, in prepareModel_1_2() argument
370 model, preference, modelCache, dataCache, token, localCallback); in prepareModel_1_2()
458 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, in prepareModel_1_2() argument
461 return mLatestDriver->prepareModel_1_2(model, preference, modelCache, dataCache, token, in prepareModel_1_2()
486 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, in prepareModelFromCache() argument
488 return mLatestDriver->prepareModelFromCache(modelCache, dataCache, token, callback); in prepareModelFromCache()
DTestCompilationCaching.cpp227 void checkNumberOfCacheHandles(size_t modelCache, size_t dataCache) { in checkNumberOfCacheHandles() argument
229 if (modelCache != 0 || dataCache != 0) { in checkNumberOfCacheHandles()
230 ASSERT_EQ(modelCache, mNumModelCache); in checkNumberOfCacheHandles()
234 ASSERT_EQ(modelCache, 0ul); in checkNumberOfCacheHandles()
DTestPartitioningRandom.cpp574 const OptionalTimePoint& deadline, const hidl_vec<hidl_handle>& modelCache, in prepareModel_1_3() argument
590 return SampleDriver::prepareModel_1_3(model, preference, priority, deadline, modelCache, in prepareModel_1_3()
616 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, in prepareModel_1_2() argument
619 return mLatestDriver->prepareModel_1_2(model, preference, modelCache, dataCache, token, in prepareModel_1_2()
633 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, in prepareModelFromCache() argument
635 return mLatestDriver->prepareModelFromCache(modelCache, dataCache, token, callback); in prepareModelFromCache()
DTestPartitioning.cpp510 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, in prepareModel_1_2() argument
513 return mLatestDriver->prepareModel_1_2(model, preference, modelCache, dataCache, token, in prepareModel_1_2()
527 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, in prepareModelFromCache() argument
529 return mLatestDriver->prepareModelFromCache(modelCache, dataCache, token, callback); in prepareModelFromCache()
DTestVersionedInterfaces.cpp147 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache,
151 (const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache,
161 const OptionalTimePoint& deadline, const hidl_vec<hidl_handle>& modelCache,
166 (const OptionalTimePoint& deadline, const hidl_vec<hidl_handle>& modelCache,