Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/shim_and_sl/include/
DShimDevice.h58 const std::vector<::ndk::ScopedFileDescriptor>& dataCache,
66 const std::vector<::ndk::ScopedFileDescriptor>& dataCache,
74 const std::vector<::ndk::ScopedFileDescriptor>& dataCache,
/packages/modules/NeuralNetworks/runtime/
DCompilationBuilder.cpp173 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()
DManager.cpp440 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()
DManager.h116 std::vector<SharedHandle> dataCache; member
/packages/modules/NeuralNetworks/driver/sample/
DLimitedSupportDevice.cpp192 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()
DCanonicalDevice.h57 const std::vector<SharedHandle>& dataCache, const CacheToken& token,
63 const std::vector<SharedHandle>& dataCache, const CacheToken& token) const override;
DLimitedSupportDevice.h64 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/
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,
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/common/types/include/nnapi/
DIDevice.h255 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/
DShimDevice.cpp531 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/
DTestExecution.cpp366 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()
DTestCompilationCaching.cpp236 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()
DTestPartitioningRandom.cpp591 const hardware::hidl_vec<hardware::hidl_handle>& dataCache, const HalCacheToken& token, in prepareModel_1_3() argument
607 dataCache, token, callback); in prepareModel_1_3()
DTestPartitioning.cpp357 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/
DSampleDriverAidlPartial.h47 const std::vector<ndk::ScopedFileDescriptor>& dataCache,
DSampleDriverAidl.h83 const std::vector<ndk::ScopedFileDescriptor>& dataCache,
91 const std::vector<ndk::ScopedFileDescriptor>& dataCache,