Home
last modified time | relevance | path

Searched refs:implFeatureLevel (Results 1 – 6 of 6) sorted by relevance

/packages/modules/NeuralNetworks/shim_and_sl/
DSupportLibrary.cpp56 if (impl->implFeatureLevel < ANEURALNETWORKS_FEATURE_LEVEL_5) { in loadNnApiSupportLibrary()
57 LOG(ERROR) << "Unsupported NnApiSLDriverImpl->implFeatureLevel: " << impl->implFeatureLevel; in loadNnApiSupportLibrary()
61 if (impl->implFeatureLevel == ANEURALNETWORKS_FEATURE_LEVEL_5) { in loadNnApiSupportLibrary()
65 if (impl->implFeatureLevel == ANEURALNETWORKS_FEATURE_LEVEL_6) { in loadNnApiSupportLibrary()
69 if (impl->implFeatureLevel == ANEURALNETWORKS_FEATURE_LEVEL_7) { in loadNnApiSupportLibrary()
73 if (impl->implFeatureLevel >= ANEURALNETWORKS_FEATURE_LEVEL_8) { in loadNnApiSupportLibrary()
DNeuralNetworksShim.cpp32 static_assert(offsetof(NnApiSLDriverImplFL5, base.implFeatureLevel) == 0,
34 static_assert(offsetof(NnApiSLDriverImplFL6, base.implFeatureLevel) == 0,
36 static_assert(offsetof(NnApiSLDriverImplFL7, base.implFeatureLevel) == 0,
42 static_assert(offsetof(NnApiSLDriverImplFL8, base.base.implFeatureLevel) == 0,
44 static_assert(offsetof(NnApiSLDriverImpl, implFeatureLevel) == 0,
DShimDeviceManager.cpp128 if (nnapiSLImpl->implFeatureLevel < ANEURALNETWORKS_FEATURE_LEVEL_5) { in registerDevices()
137 if (nnapiSLImpl->implFeatureLevel == ANEURALNETWORKS_FEATURE_LEVEL_5) { in registerDevices()
141 if (nnapiSLImpl->implFeatureLevel == ANEURALNETWORKS_FEATURE_LEVEL_6) { in registerDevices()
145 if (nnapiSLImpl->implFeatureLevel == ANEURALNETWORKS_FEATURE_LEVEL_7) { in registerDevices()
149 if (nnapiSLImpl->implFeatureLevel >= ANEURALNETWORKS_FEATURE_LEVEL_8) { in registerDevices()
/packages/modules/NeuralNetworks/shim_and_sl/include/
DSupportLibrary.h64 int64_t getFeatureLevel() const { return getFL5()->base.implFeatureLevel; } in getFeatureLevel()
/packages/modules/NeuralNetworks/shim_and_sl/public/
DNeuralNetworksSupportLibraryImpl.h612 int64_t implFeatureLevel; member
/packages/modules/NeuralNetworks/runtime/
DNeuralNetworks.cpp1942 .base{.implFeatureLevel = ANEURALNETWORKS_FEATURE_LEVEL_8},