Searched refs:featureLevel (Results 1 – 12 of 12) sorted by relevance
| /packages/modules/NeuralNetworks/tools/nnapi_info/ |
| D | nnapi_info.cpp | 35 std::string featureLevelString(int64_t featureLevel) { in featureLevelString() argument 36 switch (featureLevel) { in featureLevelString() 86 int64_t featureLevel; in main() local 92 CONTINUE_IF_ERR(ANeuralNetworksDevice_getFeatureLevel(device, &featureLevel)); in main() 98 std::cout << "Feature Level: " << featureLevelString(featureLevel) << std::endl; in main()
|
| /packages/modules/NeuralNetworks/runtime/test/ |
| D | TestUpdatability.cpp | 44 int64_t featureLevel; in TEST_F() local 47 EXPECT_EQ(ANeuralNetworksDevice_getFeatureLevel(device, &featureLevel), in TEST_F() 50 EXPECT_LE(featureLevel, runtimeFeatureLevel); in TEST_F()
|
| D | TestGpuNnapi.cpp | 263 int64_t featureLevel; in getNnapiDevices() local 264 ASSERT_EQ(ANeuralNetworksDevice_getFeatureLevel(device, &featureLevel), in getNnapiDevices() 266 if (featureLevel < ANEURALNETWORKS_FEATURE_LEVEL_5) { in getNnapiDevices()
|
| D | TestValidation.cpp | 2836 int64_t featureLevel; in TEST() local 2841 EXPECT_EQ(ANeuralNetworksDevice_getFeatureLevel(device, &featureLevel), in TEST() 2846 EXPECT_EQ(ANeuralNetworksDevice_getFeatureLevel(nullptr, &featureLevel), in TEST()
|
| /packages/modules/NeuralNetworks/runtime/ |
| D | ServerFlag.cpp | 51 int64_t featureLevel = kDefaultFeatureLevelNum; in getServerFeatureLevelFlag() local 52 const bool success = base::ParseInt(featureLevelString, &featureLevel, kMinFeatureLevelNum, in getServerFeatureLevelFlag() 57 return featureLevel; in getServerFeatureLevelFlag()
|
| D | NeuralNetworksV2.cpp | 724 int64_t* featureLevel) { in ANeuralNetworksDevice_getFeatureLevel() argument 725 if (device == nullptr || featureLevel == nullptr) { in ANeuralNetworksDevice_getFeatureLevel() 734 *featureLevel = std::min(getRuntimeFeatureLevelImpl(), dFeatureLevel); in ANeuralNetworksDevice_getFeatureLevel()
|
| D | Manager.cpp | 324 const auto featureLevel = kInterface->getFeatureLevel(); in getSupportedOperationsImpl() local 325 const auto slice = metaModel.getSlice(featureLevel); in getSupportedOperationsImpl() 327 return NN_ERROR() << "getSlice(" << featureLevel << ") failed"; in getSupportedOperationsImpl()
|
| D | NeuralNetworks.cpp | 743 int64_t* featureLevel) { in ANeuralNetworksDevice_getFeatureLevel() argument 744 if (device == nullptr || featureLevel == nullptr) { in ANeuralNetworksDevice_getFeatureLevel() 753 *featureLevel = std::min(getRuntimeFeatureLevelImpl(), dFeatureLevel); in ANeuralNetworksDevice_getFeatureLevel()
|
| /packages/modules/NeuralNetworks/common/include/ |
| D | LegacyUtils.h | 292 int64_t featureLevel; member 296 .featureLevel = ANEURALNETWORKS_FEATURE_LEVEL_1}; 298 .featureLevel = ANEURALNETWORKS_FEATURE_LEVEL_2}; 300 .featureLevel = ANEURALNETWORKS_FEATURE_LEVEL_3}; 302 .featureLevel = ANEURALNETWORKS_FEATURE_LEVEL_4};
|
| /packages/modules/NeuralNetworks/runtime/test/fuzzing/ |
| D | TestRandomGraph.cpp | 166 int64_t featureLevel; in SetUpTestCase() local 169 ASSERT_EQ(ANeuralNetworksDevice_getFeatureLevel(device, &featureLevel), in SetUpTestCase() 172 mStandardDevicesFeatureLevel = std::min(mStandardDevicesFeatureLevel, featureLevel); in SetUpTestCase() 199 bool shouldSkipTest(int64_t featureLevel) { in shouldSkipTest() argument 214 featureLevel <= __ANDROID_API_Q__) { in shouldSkipTest() 219 featureLevel <= __ANDROID_API_Q__) { in shouldSkipTest() 228 featureLevel <= __ANDROID_API_Q__) { in shouldSkipTest() 305 int64_t featureLevel; in computeAndVerifyResultsForDevice() local 306 ASSERT_EQ(ANeuralNetworksDevice_getFeatureLevel(device, &featureLevel), in computeAndVerifyResultsForDevice() 308 if (shouldSkipTest(featureLevel)) return; in computeAndVerifyResultsForDevice() [all …]
|
| /packages/modules/NeuralNetworks/runtime/include/ |
| D | NeuralNetworks.h | 516 int64_t* featureLevel) __NNAPI_INTRODUCED_IN(29)
|
| /packages/modules/NeuralNetworks/shim_and_sl/public/ |
| D | NeuralNetworksSupportLibraryImpl.h | 767 int64_t* featureLevel);
|