Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/driver/sample/
DLimitedSupportDevice.cpp93 const std::vector<SharedHandle>& dataCache, const CacheToken& token) const { in prepareModel() argument
99 return kDevice->prepareModel(model, preference, priority, deadline, modelCache, dataCache, in prepareModel()
105 const std::vector<SharedHandle>& dataCache, const CacheToken& token) const { in prepareModelFromCache() argument
106 return kDevice->prepareModelFromCache(deadline, modelCache, dataCache, token); in prepareModelFromCache()
DSampleDriver.h92 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,
DCanonicalDevice.h58 const std::vector<SharedHandle>& dataCache,
63 const std::vector<SharedHandle>& dataCache, const CacheToken& token) const override;
DLimitedSupportDevice.h65 const std::vector<SharedHandle>& dataCache,
70 const std::vector<SharedHandle>& dataCache, const CacheToken& token) const override;
DSampleDriverPartial.h48 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token,
DSampleDriverFloatXNNPACK.cpp1848 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/runtime/
DCompilationBuilder.cpp171 auto dataCache = createCacheHandleVec(dataCacheFds, numDataCacheFiles); in setCachingFromFds() local
172 if (!dataCache.has_value()) { in setCachingFromFds()
175 << dataCache.error().message; in setCachingFromFds()
180 .dataCache = std::move(dataCache).value(), in setCachingFromFds()
DManager.cpp388 if (cacheHandles->dataCache.size() != numCacheFiles.second) { in getCacheHandles()
391 << cacheHandles->dataCache.size(); in getCacheHandles()
414 std::vector<SharedHandle> dataCache = in getCacheHandles() local
419 .dataCache = std::move(dataCache), in getCacheHandles()
429 return kInterface->prepareModelFromCache(deadline, cache.modelCache, cache.dataCache, token); in prepareModelFromCacheInternal()
470 cache.dataCache, token); in prepareModel()
DManager.h112 std::vector<SharedHandle> dataCache; member
/packages/modules/NeuralNetworks/runtime/test/
DTestExecution.cpp365 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, in prepareModel_1_3() argument
370 model, preference, priority, deadline, modelCache, dataCache, token, localCallback); in prepareModel_1_3()
396 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, in prepareModel_1_2() argument
401 model, preference, modelCache, dataCache, token, localCallback); in prepareModel_1_2()
490 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, in prepareModel_1_2() argument
493 return mLatestDriver->prepareModel_1_2(model, preference, modelCache, dataCache, token, in prepareModel_1_2()
521 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, in prepareModelFromCache() argument
523 return mLatestDriver->prepareModelFromCache(modelCache, dataCache, token, callback); in prepareModelFromCache()
DTestCompilationCaching.cpp235 void checkNumberOfCacheHandles(size_t modelCache, size_t dataCache) { in checkNumberOfCacheHandles() argument
237 if (modelCache != 0 || dataCache != 0) { in checkNumberOfCacheHandles()
239 ASSERT_EQ(dataCache, mNumDataCache); in checkNumberOfCacheHandles()
243 ASSERT_EQ(dataCache, 0ul); in checkNumberOfCacheHandles()
DTestPartitioning.cpp356 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token, in prepareModel_1_3() argument
381 dataCache, token, callback); in prepareModel_1_3()
492 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token, in prepareModel_1_2() argument
494 return mLatestDriver->prepareModel_1_2(model, preference, modelCache, dataCache, token, in prepareModel_1_2()
511 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token, in prepareModelFromCache() argument
513 return mLatestDriver->prepareModelFromCache(modelCache, dataCache, token, callback); in prepareModelFromCache()
DTestPartitioningRandom.cpp594 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token, in prepareModel_1_3() argument
610 dataCache, token, callback); in prepareModel_1_3()
/packages/modules/NeuralNetworks/common/include/nnapi/
DIDevice.h251 const std::vector<SharedHandle>& dataCache, const CacheToken& token) const = 0;
307 const std::vector<SharedHandle>& dataCache, const CacheToken& token) const = 0;
/packages/modules/NeuralNetworks/shim_and_sl/include/
DShimDevice.h58 const std::vector<::ndk::ScopedFileDescriptor>& dataCache,
63 const std::vector<::ndk::ScopedFileDescriptor>& dataCache,
/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriver.h83 const std::vector<ndk::ScopedFileDescriptor>& dataCache,
88 const std::vector<ndk::ScopedFileDescriptor>& dataCache,
DSampleDriverPartial.h47 const std::vector<ndk::ScopedFileDescriptor>& dataCache,
/packages/modules/NeuralNetworks/shim_and_sl/
DShimDevice.cpp530 const std::vector<::ndk::ScopedFileDescriptor>& dataCache, in prepareModel() argument
582 if (!modelCache.empty() || !dataCache.empty()) { in prepareModel()
584 compilation.second.setCachingFromFds(getIntFds(modelCache), getIntFds(dataCache), in prepareModel()