Searched refs:featureLevel (Results 1 – 6 of 6) sorted by relevance
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | TestRandomGraph.cpp | 163 int64_t featureLevel; in SetUpTestCase() local 166 ASSERT_EQ(ANeuralNetworksDevice_getFeatureLevel(device, &featureLevel), in SetUpTestCase() 169 mStandardDevicesFeatureLevel = std::min(mStandardDevicesFeatureLevel, featureLevel); in SetUpTestCase() 196 bool shouldSkipTest(int64_t featureLevel) { in shouldSkipTest() argument 211 featureLevel <= __ANDROID_API_Q__) { in shouldSkipTest() 216 featureLevel <= __ANDROID_API_Q__) { in shouldSkipTest() 225 featureLevel <= __ANDROID_API_Q__) { in shouldSkipTest() 297 int64_t featureLevel; in computeAndVerifyResultsForDevice() local 298 ASSERT_EQ(ANeuralNetworksDevice_getFeatureLevel(device, &featureLevel), in computeAndVerifyResultsForDevice() 300 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 | 2236 int64_t featureLevel; in TEST() local 2241 EXPECT_EQ(ANeuralNetworksDevice_getFeatureLevel(device, &featureLevel), in TEST() 2246 EXPECT_EQ(ANeuralNetworksDevice_getFeatureLevel(nullptr, &featureLevel), in TEST()
|
/frameworks/ml/nn/runtime/include/ |
D | NeuralNetworks.h | 6697 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 | 1116 * @param featureLevel The API level of the most advanced feature this driver implements. 1123 int64_t* featureLevel) __INTRODUCED_IN(29);
|