Searched refs:featureLevel (Results 1 – 6 of 6) sorted by relevance
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | TestRandomGraph.cpp | 164 int64_t featureLevel; in SetUpTestCase() local 167 ASSERT_EQ(ANeuralNetworksDevice_getFeatureLevel(device, &featureLevel), in SetUpTestCase() 170 mStandardDevicesFeatureLevel = std::min(mStandardDevicesFeatureLevel, featureLevel); in SetUpTestCase() 197 bool shouldSkipTest(int64_t featureLevel) { in shouldSkipTest() argument 212 featureLevel <= __ANDROID_API_Q__) { in shouldSkipTest() 217 featureLevel <= __ANDROID_API_Q__) { in shouldSkipTest() 226 featureLevel <= __ANDROID_API_Q__) { in shouldSkipTest() 303 int64_t featureLevel; in computeAndVerifyResultsForDevice() local 304 ASSERT_EQ(ANeuralNetworksDevice_getFeatureLevel(device, &featureLevel), in computeAndVerifyResultsForDevice() 306 if (shouldSkipTest(featureLevel)) return; in computeAndVerifyResultsForDevice() [all …]
|
/frameworks/ml/nn/runtime/test/ |
D | TestVersionedInterfaces.cpp | 1062 const auto featureLevel = kDevice->getFeatureLevel(); in TEST_F() local 1067 EXPECT_EQ(expectedFeatureLevel, featureLevel); in TEST_F() 1068 EXPECT_EQ(cached, featureLevel); in TEST_F() 1073 const auto featureLevel = kDevice->getFeatureLevel(); in TEST_F() local 1078 EXPECT_EQ(expectedFeatureLevel, featureLevel); in TEST_F() 1079 EXPECT_EQ(cached, featureLevel); in TEST_F() 1084 const auto featureLevel = kDevice->getFeatureLevel(); in TEST_F() local 1089 EXPECT_EQ(expectedFeatureLevel, featureLevel); in TEST_F() 1090 EXPECT_EQ(cached, featureLevel); in TEST_F() 1095 const auto featureLevel = kDevice->getFeatureLevel(); in TEST_F() local [all …]
|
D | TestValidation.cpp | 2267 int64_t featureLevel; in TEST() local 2272 EXPECT_EQ(ANeuralNetworksDevice_getFeatureLevel(device, &featureLevel), in TEST() 2277 EXPECT_EQ(ANeuralNetworksDevice_getFeatureLevel(nullptr, &featureLevel), in TEST()
|
/frameworks/ml/nn/runtime/include/ |
D | NeuralNetworks.h | 6698 int64_t* featureLevel) __INTRODUCED_IN(29);
|
/frameworks/ml/nn/runtime/ |
D | NeuralNetworks.cpp | 678 int64_t* featureLevel) { in ANeuralNetworksDevice_getFeatureLevel() argument 679 if (device == nullptr || featureLevel == nullptr) { in ANeuralNetworksDevice_getFeatureLevel() 688 *featureLevel = dFeatureLevel; in ANeuralNetworksDevice_getFeatureLevel()
|
/frameworks/ml/nn/tools/api/ |
D | NeuralNetworks.t | 1117 * @param featureLevel The API level of the most advanced feature this driver implements. 1124 int64_t* featureLevel) __INTRODUCED_IN(29);
|