Home
last modified time | relevance | path

Searched refs:featureLevel (Results 1 – 4 of 4) sorted by relevance

/frameworks/ml/nn/runtime/test/fuzzing/
DTestRandomGraph.cpp164 int64_t featureLevel; in SetUpTestCase() local
167 ASSERT_EQ(ANeuralNetworksDevice_getFeatureLevel(device, &featureLevel), in SetUpTestCase()
170 mStandardDevicesFeatureLevel = std::min(mStandardDevicesFeatureLevel, featureLevel); in SetUpTestCase()
191 bool shouldSkipTest(int64_t featureLevel) { in shouldSkipTest() argument
201 if (featureLevel >= __ANDROID_API_Q__) return false; in shouldSkipTest()
237 int64_t featureLevel; in computeAndVerifyResultsForDevice() local
238 ASSERT_EQ(ANeuralNetworksDevice_getFeatureLevel(device, &featureLevel), in computeAndVerifyResultsForDevice()
240 if (shouldSkipTest(featureLevel)) return; in computeAndVerifyResultsForDevice()
276 if (featureLevel >= __ANDROID_API_Q__ && !isRef) { in computeAndVerifyResultsForDevice()
/frameworks/ml/nn/runtime/include/
DNeuralNetworks.h5430 int64_t* featureLevel) __INTRODUCED_IN(29);
/frameworks/ml/nn/runtime/
DNeuralNetworks.cpp611 int64_t* featureLevel) { in ANeuralNetworksDevice_getFeatureLevel() argument
612 if (device == nullptr || featureLevel == nullptr) { in ANeuralNetworksDevice_getFeatureLevel()
621 *featureLevel = dFeatureLevel; in ANeuralNetworksDevice_getFeatureLevel()
/frameworks/ml/nn/runtime/test/
DTestValidation.cpp1474 int64_t featureLevel; in TEST() local
1479 EXPECT_EQ(ANeuralNetworksDevice_getFeatureLevel(device, &featureLevel), in TEST()
1484 EXPECT_EQ(ANeuralNetworksDevice_getFeatureLevel(nullptr, &featureLevel), in TEST()