Home
last modified time | relevance | path

Searched refs:ExecutePreference (Results 1 – 6 of 6) sorted by relevance

/packages/modules/NeuralNetworks/runtime/test/
DTestPartitioning.cpp160 using ExecutePreference = ::android::nn::test_wrapper::ExecutePreference; typedef
848 ExecutePreference preference, ExecutePriority priority, in partitionTheWork()
1604 ASSERT_EQ(model.partitionTheWork(devicesA, ExecutePreference::PREFER_LOW_POWER, in TEST_F()
1617 ASSERT_EQ(model.partitionTheWork(devicesC, ExecutePreference::PREFER_LOW_POWER, in TEST_F()
1630 ASSERT_EQ(model.partitionTheWork(devicesB, ExecutePreference::PREFER_LOW_POWER, in TEST_F()
1702 ASSERT_EQ(model.partitionTheWork(devicesA, ExecutePreference::PREFER_LOW_POWER, in TEST_F()
1717 ASSERT_EQ(model.partitionTheWork(devicesB, ExecutePreference::PREFER_LOW_POWER, in TEST_F()
1832 ASSERT_EQ(model.partitionTheWork(devices, ExecutePreference::PREFER_LOW_POWER, in TEST_F()
1872 ASSERT_EQ(model.partitionTheWork(devices, ExecutePreference::PREFER_LOW_POWER, in TEST_F()
2016 ASSERT_EQ(model.partitionTheWork(devices, ExecutePreference::PREFER_LOW_POWER, in TEST_F()
[all …]
DTestNeuralNetworksWrapper.h45 using wrapper::ExecutePreference;
297 Result setPreference(ExecutePreference preference) { in setPreference()
DTestIntrospectionControl.cpp54 using ExecutePreference = nn::test_wrapper::ExecutePreference; typedef
/packages/modules/NeuralNetworks/shim_and_sl/
DShimDevice.cpp72 constexpr std::optional<::android::nn::wrapper::ExecutePreference> convertToNDKPreference( in convertToNDKPreference()
76 return ::android::nn::wrapper::ExecutePreference::PREFER_LOW_POWER; in convertToNDKPreference()
78 return ::android::nn::wrapper::ExecutePreference::PREFER_FAST_SINGLE_ANSWER; in convertToNDKPreference()
80 return ::android::nn::wrapper::ExecutePreference::PREFER_SUSTAINED_SPEED; in convertToNDKPreference()
/packages/modules/NeuralNetworks/runtime/include/
DNeuralNetworksWrapper.h60 enum class ExecutePreference { enum
512 Result setPreference(ExecutePreference preference) {
/packages/modules/NeuralNetworks/shim_and_sl/include/
DSupportLibraryWrapper.h389 Result setPreference(ExecutePreference preference) { in setPreference()