/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | ShimDevice.h | 58 const std::vector<::ndk::ScopedFileDescriptor>& dataCache, 66 const std::vector<::ndk::ScopedFileDescriptor>& dataCache, 74 const std::vector<::ndk::ScopedFileDescriptor>& dataCache,
|
/packages/modules/NeuralNetworks/runtime/ |
D | CompilationBuilder.cpp | 173 auto dataCache = createCacheHandleVec(dataCacheFds, numDataCacheFiles); in setCachingFromFds() local 174 if (!dataCache.has_value()) { in setCachingFromFds() 177 << dataCache.error().message; in setCachingFromFds() 182 .dataCache = std::move(dataCache).value(), in setCachingFromFds()
|
D | Manager.cpp | 440 if (cacheHandles->dataCache.size() != numCacheFiles.second) { in getCacheHandles() 443 << cacheHandles->dataCache.size(); in getCacheHandles() 466 std::vector<SharedHandle> dataCache = in getCacheHandles() local 471 .dataCache = std::move(dataCache), in getCacheHandles() 481 return kInterface->prepareModelFromCache(deadline, cache.modelCache, cache.dataCache, token); in prepareModelFromCacheInternal() 525 cache.dataCache, token, metaData, extensionNameAndPrefix); in prepareModel()
|
D | Manager.h | 116 std::vector<SharedHandle> dataCache; member
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | LimitedSupportDevice.cpp | 192 const std::vector<SharedHandle>& dataCache, const CacheToken& token, in prepareModel() argument 200 return kDevice->prepareModel(model, preference, priority, deadline, modelCache, dataCache, in prepareModel() 206 const std::vector<SharedHandle>& dataCache, const CacheToken& token) const { in prepareModelFromCache() argument 207 return kDevice->prepareModelFromCache(deadline, modelCache, dataCache, token); in prepareModelFromCache()
|
D | CanonicalDevice.h | 57 const std::vector<SharedHandle>& dataCache, const CacheToken& token, 63 const std::vector<SharedHandle>& dataCache, const CacheToken& token) const override;
|
D | LimitedSupportDevice.h | 64 const std::vector<SharedHandle>& dataCache, const CacheToken& token, 70 const std::vector<SharedHandle>& dataCache, const CacheToken& token) const override;
|
/packages/modules/NeuralNetworks/driver/sample_hidl/ |
D | SampleDriver.h | 92 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token, 98 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token, 102 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token, 107 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token,
|
D | SampleDriverPartial.h | 48 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token,
|
D | SampleDriverFloatXNNPACK.cpp | 1848 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token, 1854 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token, 1930 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token, in prepareModel_1_3() argument
|
/packages/modules/NeuralNetworks/common/types/include/nnapi/ |
D | IDevice.h | 255 const std::vector<SharedHandle>& dataCache, const CacheToken& token, 313 const std::vector<SharedHandle>& dataCache, const CacheToken& token) const = 0;
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimDevice.cpp | 531 const std::vector<::ndk::ScopedFileDescriptor>& dataCache, in prepareModelCommon() argument 584 if (!modelCache.empty() || !dataCache.empty()) { in prepareModelCommon() 586 compilation.second.setCachingFromFds(getIntFds(modelCache), getIntFds(dataCache), in prepareModelCommon() 630 const std::vector<::ndk::ScopedFileDescriptor>& dataCache, 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 | 366 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, in prepareModel_1_3() argument 371 model, preference, priority, deadline, modelCache, dataCache, token, localCallback); in prepareModel_1_3() 397 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, in prepareModel_1_2() argument 402 model, preference, modelCache, dataCache, token, localCallback); in prepareModel_1_2() 491 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, in prepareModel_1_2() argument 494 return mLatestDriver->prepareModel_1_2(model, preference, modelCache, dataCache, token, in prepareModel_1_2() 522 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, in prepareModelFromCache() argument 524 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() 240 ASSERT_EQ(dataCache, mNumDataCache); in checkNumberOfCacheHandles() 244 ASSERT_EQ(dataCache, 0ul); in checkNumberOfCacheHandles()
|
D | TestPartitioningRandom.cpp | 591 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token, in prepareModel_1_3() argument 607 dataCache, token, callback); in prepareModel_1_3()
|
D | TestPartitioning.cpp | 357 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token, in prepareModel_1_3() argument 382 dataCache, token, callback); in prepareModel_1_3() 493 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token, in prepareModel_1_2() argument 495 return mLatestDriver->prepareModel_1_2(model, preference, modelCache, dataCache, token, in prepareModel_1_2() 512 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token, in prepareModelFromCache() argument 514 return mLatestDriver->prepareModelFromCache(modelCache, dataCache, token, callback); in prepareModelFromCache()
|
/packages/modules/NeuralNetworks/driver/sample_aidl/ |
D | SampleDriverAidlPartial.h | 47 const std::vector<ndk::ScopedFileDescriptor>& dataCache,
|
D | SampleDriverAidl.h | 83 const std::vector<ndk::ScopedFileDescriptor>& dataCache, 91 const std::vector<ndk::ScopedFileDescriptor>& dataCache,
|