Searched refs:featureLevel (Results 1 – 12 of 12) sorted by relevance
/packages/modules/NeuralNetworks/common/include/ |
D | LegacyUtils.h | 313 int64_t featureLevel; member 317 .featureLevel = ANEURALNETWORKS_FEATURE_LEVEL_1}; 319 .featureLevel = ANEURALNETWORKS_FEATURE_LEVEL_2}; 321 .featureLevel = ANEURALNETWORKS_FEATURE_LEVEL_3}; 323 .featureLevel = ANEURALNETWORKS_FEATURE_LEVEL_4};
|
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestUpdatability.cpp | 38 int64_t featureLevel; in TEST_F() local 41 EXPECT_EQ(ANeuralNetworksDevice_getFeatureLevel(device, &featureLevel), in TEST_F() 44 EXPECT_LE(featureLevel, runtimeFeatureLevel); in TEST_F()
|
D | TestGpuNnapi.cpp | 256 int64_t featureLevel; in getNnapiDevices() local 257 ASSERT_EQ(ANeuralNetworksDevice_getFeatureLevel(device, &featureLevel), in getNnapiDevices() 259 if (featureLevel < ANEURALNETWORKS_FEATURE_LEVEL_5) { in getNnapiDevices()
|
D | TestValidation.cpp | 2762 int64_t featureLevel; in TEST() local 2767 EXPECT_EQ(ANeuralNetworksDevice_getFeatureLevel(device, &featureLevel), in TEST() 2772 EXPECT_EQ(ANeuralNetworksDevice_getFeatureLevel(nullptr, &featureLevel), in TEST()
|
D | TestPartitioningRandom.cpp | 1142 return device->getFeatureLevel() < nn::kHalVersionV1_2ToApi.featureLevel; in TEST_P()
|
/packages/modules/NeuralNetworks/runtime/test/fuzzing/ |
D | TestRandomGraph.cpp | 162 int64_t featureLevel; in SetUpTestCase() local 165 ASSERT_EQ(ANeuralNetworksDevice_getFeatureLevel(device, &featureLevel), in SetUpTestCase() 168 mStandardDevicesFeatureLevel = std::min(mStandardDevicesFeatureLevel, featureLevel); in SetUpTestCase() 195 bool shouldSkipTest(int64_t featureLevel) { in shouldSkipTest() argument 210 featureLevel <= __ANDROID_API_Q__) { in shouldSkipTest() 215 featureLevel <= __ANDROID_API_Q__) { in shouldSkipTest() 224 featureLevel <= __ANDROID_API_Q__) { in shouldSkipTest() 301 int64_t featureLevel; in computeAndVerifyResultsForDevice() local 302 ASSERT_EQ(ANeuralNetworksDevice_getFeatureLevel(device, &featureLevel), in computeAndVerifyResultsForDevice() 304 if (shouldSkipTest(featureLevel)) return; in computeAndVerifyResultsForDevice() [all …]
|
/packages/modules/NeuralNetworks/runtime/ |
D | Manager.cpp | 246 Version featureLevel = kInterface->getFeatureLevel(); in getFeatureLevel() local 247 switch (featureLevel) { in getFeatureLevel() 261 LOG(FATAL) << "Unsupported driver feature level: " << featureLevel; in getFeatureLevel() 267 const auto featureLevel = kInterface->getFeatureLevel(); in getSupportedOperationsImpl() local 268 const auto slice = metaModel.getSlice(featureLevel); in getSupportedOperationsImpl() 270 return NN_ERROR() << "getSlice(" << featureLevel << ") failed"; in getSupportedOperationsImpl() 605 if (mDevice->getFeatureLevel() >= kHalVersionV1_3ToApi.featureLevel) { in executeFenced() 743 if (kDeviceFeatureLevel >= kHalVersionV1_3ToApi.featureLevel) { in computeFenced()
|
D | NeuralNetworks.cpp | 703 int64_t* featureLevel) { in ANeuralNetworksDevice_getFeatureLevel() argument 704 if (device == nullptr || featureLevel == nullptr) { in ANeuralNetworksDevice_getFeatureLevel() 713 *featureLevel = dFeatureLevel; in ANeuralNetworksDevice_getFeatureLevel()
|
D | Memory.cpp | 460 return device->getFeatureLevel() >= kHalVersionV1_3ToApi.featureLevel; in finish()
|
D | ExecutionPlan.cpp | 901 if (step->getDevice()->getFeatureLevel() < kHalVersionV1_2ToApi.featureLevel) { in finish()
|
/packages/modules/NeuralNetworks/runtime/include/ |
D | NeuralNetworks.h | 457 int64_t* featureLevel) __NNAPI_INTRODUCED_IN(29);
|
/packages/modules/NeuralNetworks/shim_and_sl/public/ |
D | NeuralNetworksSupportLibraryImpl.h | 443 int64_t* featureLevel);
|