/packages/modules/NeuralNetworks/driver/sample/ |
D | LimitedSupportDevice.cpp | 93 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()
|
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 | CanonicalDevice.h | 58 const std::vector<SharedHandle>& dataCache, 63 const std::vector<SharedHandle>& dataCache, const CacheToken& token) const override;
|
D | LimitedSupportDevice.h | 65 const std::vector<SharedHandle>& dataCache, 70 const std::vector<SharedHandle>& dataCache, const CacheToken& token) const override;
|
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/runtime/ |
D | CompilationBuilder.cpp | 171 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()
|
D | Manager.cpp | 388 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()
|
D | Manager.h | 112 std::vector<SharedHandle> dataCache; member
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestExecution.cpp | 365 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()
|
D | TestCompilationCaching.cpp | 235 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()
|
D | TestPartitioning.cpp | 356 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()
|
D | TestPartitioningRandom.cpp | 594 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/ |
D | IDevice.h | 251 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/ |
D | ShimDevice.h | 58 const std::vector<::ndk::ScopedFileDescriptor>& dataCache, 63 const std::vector<::ndk::ScopedFileDescriptor>& dataCache,
|
/packages/modules/NeuralNetworks/driver/sample_aidl/ |
D | SampleDriver.h | 83 const std::vector<ndk::ScopedFileDescriptor>& dataCache, 88 const std::vector<ndk::ScopedFileDescriptor>& dataCache,
|
D | SampleDriverPartial.h | 47 const std::vector<ndk::ScopedFileDescriptor>& dataCache,
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimDevice.cpp | 530 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()
|