/frameworks/ml/nn/runtime/ |
D | VersionedInterfaces.cpp | 1148 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/ |
D | SampleDriver.h | 90 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,
|
D | SampleDriverPartial.h | 46 const hal::hidl_vec<hal::hidl_handle>& modelCache,
|
/frameworks/ml/nn/runtime/test/ |
D | TestExecution.cpp | 335 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()
|
D | TestCompilationCaching.cpp | 227 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()
|
D | TestPartitioningRandom.cpp | 574 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()
|
D | TestPartitioning.cpp | 510 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()
|
D | TestVersionedInterfaces.cpp | 147 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,
|