/packages/modules/NeuralNetworks/runtime/ |
D | CompilationBuilder.cpp | 166 auto modelCache = createCacheHandleVec(modelCacheFds, numModelCacheFiles); in setCachingFromFds() local 167 if (!modelCache.has_value()) { in setCachingFromFds() 170 << modelCache.error().message; in setCachingFromFds() 181 .modelCache = std::move(modelCache).value(), in setCachingFromFds()
|
D | Manager.cpp | 433 if (cacheHandles->modelCache.size() != numCacheFiles.first) { in getCacheHandles() 436 << cacheHandles->modelCache.size(); in getCacheHandles() 460 std::vector<SharedHandle> modelCache = in getCacheHandles() local 468 .modelCache = std::move(modelCache), in getCacheHandles() 479 return kInterface->prepareModelFromCache(deadline, cache.modelCache, cache.dataCache, token); in prepareModelFromCacheInternal() 522 kInterface->prepareModel(model, preference, priority, deadline, cache.modelCache, in prepareModel()
|
D | Manager.h | 114 std::vector<SharedHandle> modelCache; member
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | ShimDevice.h | 57 int64_t deadlineNs, const std::vector<::ndk::ScopedFileDescriptor>& modelCache, 65 int64_t deadlineNs, const std::vector<::ndk::ScopedFileDescriptor>& modelCache, 73 int64_t deadlineNs, const std::vector<::ndk::ScopedFileDescriptor>& modelCache,
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | LimitedSupportDevice.cpp | 191 OptionalTimePoint deadline, const std::vector<SharedHandle>& modelCache, in prepareModel() argument 200 return kDevice->prepareModel(model, preference, priority, deadline, modelCache, dataCache, in prepareModel() 205 OptionalTimePoint deadline, const std::vector<SharedHandle>& modelCache, in prepareModelFromCache() argument 207 return kDevice->prepareModelFromCache(deadline, modelCache, dataCache, token); in prepareModelFromCache()
|
D | CanonicalDevice.h | 56 OptionalTimePoint deadline, const std::vector<SharedHandle>& modelCache, 62 OptionalTimePoint deadline, const std::vector<SharedHandle>& modelCache,
|
D | LimitedSupportDevice.h | 63 OptionalTimePoint deadline, const std::vector<SharedHandle>& modelCache, 69 OptionalTimePoint deadline, const std::vector<SharedHandle>& modelCache,
|
/packages/modules/NeuralNetworks/driver/sample_hidl/ |
D | SampleDriver.h | 91 const hardware::hidl_vec<hardware::hidl_handle>& modelCache, 97 const hardware::hidl_vec<hardware::hidl_handle>& modelCache, 101 const hardware::hidl_vec<hardware::hidl_handle>& modelCache, 106 const hardware::hidl_vec<hardware::hidl_handle>& modelCache,
|
D | SampleDriverPartial.h | 47 const hardware::hidl_vec<hardware::hidl_handle>& modelCache,
|
D | SampleDriverFloatXNNPACK.cpp | 1847 const hardware::hidl_vec<hardware::hidl_handle>& modelCache, 1853 const hardware::hidl_vec<hardware::hidl_handle>& modelCache, 1929 const hardware::hidl_vec<hardware::hidl_handle>& modelCache, in prepareModel_1_3() argument
|
/packages/modules/NeuralNetworks/common/types/include/nnapi/ |
D | IDevice.h | 254 OptionalTimePoint deadline, const std::vector<SharedHandle>& modelCache, 312 OptionalTimePoint deadline, const std::vector<SharedHandle>& modelCache,
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimDevice.cpp | 530 const std::vector<::ndk::ScopedFileDescriptor>& modelCache, in prepareModelCommon() argument 584 if (!modelCache.empty() || !dataCache.empty()) { in prepareModelCommon() 586 compilation.second.setCachingFromFds(getIntFds(modelCache), getIntFds(dataCache), in prepareModelCommon() 629 const std::vector<::ndk::ScopedFileDescriptor>& modelCache, in prepareModel() argument 633 return prepareModelCommon(model, preference, priority, deadlineNs, modelCache, dataCache, token, in prepareModel() 641 config.modelCache, config.dataCache, utils::toVec(config.cacheToken), in prepareModelWithConfig()
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestExecution.cpp | 364 const hardware::hidl_vec<hardware::hidl_handle>& modelCache, in prepareModel_1_3() argument 370 model, preference, priority, deadline, modelCache, dataCache, token, localCallback); in prepareModel_1_3() 395 const hardware::hidl_vec<hardware::hidl_handle>& modelCache, in prepareModel_1_2() argument 401 model, preference, modelCache, dataCache, token, localCallback); in prepareModel_1_2() 489 const hardware::hidl_vec<hardware::hidl_handle>& modelCache, in prepareModel_1_2() argument 493 return mLatestDriver->prepareModel_1_2(model, preference, modelCache, dataCache, token, in prepareModel_1_2() 520 const hardware::hidl_vec<hardware::hidl_handle>& modelCache, in prepareModelFromCache() argument 523 return mLatestDriver->prepareModelFromCache(modelCache, dataCache, token, callback); in prepareModelFromCache()
|
D | TestCompilationCaching.cpp | 236 void checkNumberOfCacheHandles(size_t modelCache, size_t dataCache) { in checkNumberOfCacheHandles() argument 238 if (modelCache != 0 || dataCache != 0) { in checkNumberOfCacheHandles() 239 ASSERT_EQ(modelCache, mNumModelCache); in checkNumberOfCacheHandles() 243 ASSERT_EQ(modelCache, 0ul); in checkNumberOfCacheHandles()
|
D | TestPartitioning.cpp | 356 const hardware::hidl_vec<hardware::hidl_handle>& modelCache, in prepareModel_1_3() argument 381 return SampleDriver::prepareModel_1_3(model, preference, priority, deadline, modelCache, in prepareModel_1_3() 492 const hardware::hidl_vec<hardware::hidl_handle>& modelCache, in prepareModel_1_2() argument 495 return mLatestDriver->prepareModel_1_2(model, preference, modelCache, dataCache, token, in prepareModel_1_2() 511 const hardware::hidl_vec<hardware::hidl_handle>& modelCache, in prepareModelFromCache() argument 514 return mLatestDriver->prepareModelFromCache(modelCache, dataCache, token, callback); in prepareModelFromCache()
|
D | TestPartitioningRandom.cpp | 590 const hardware::hidl_vec<hardware::hidl_handle>& modelCache, in prepareModel_1_3() argument 606 return SampleDriver::prepareModel_1_3(model, preference, priority, deadline, modelCache, in prepareModel_1_3()
|
/packages/modules/NeuralNetworks/driver/sample_aidl/ |
D | SampleDriverAidl.h | 82 const std::vector<ndk::ScopedFileDescriptor>& modelCache, 90 int64_t deadlineNs, const std::vector<ndk::ScopedFileDescriptor>& modelCache,
|
D | SampleDriverAidlPartial.h | 46 const std::vector<ndk::ScopedFileDescriptor>& modelCache,
|