Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/runtime/test/
DTestPartitioning.cpp159 using ExecutePreference = ::android::nn::test_wrapper::ExecutePreference; typedef
847 ExecutePreference preference, ExecutePriority priority, in partitionTheWork()
1603 ASSERT_EQ(model.partitionTheWork(devicesA, ExecutePreference::PREFER_LOW_POWER, in TEST_F()
1616 ASSERT_EQ(model.partitionTheWork(devicesC, ExecutePreference::PREFER_LOW_POWER, in TEST_F()
1629 ASSERT_EQ(model.partitionTheWork(devicesB, ExecutePreference::PREFER_LOW_POWER, in TEST_F()
1701 ASSERT_EQ(model.partitionTheWork(devicesA, ExecutePreference::PREFER_LOW_POWER, in TEST_F()
1716 ASSERT_EQ(model.partitionTheWork(devicesB, ExecutePreference::PREFER_LOW_POWER, in TEST_F()
1831 ASSERT_EQ(model.partitionTheWork(devices, ExecutePreference::PREFER_LOW_POWER, in TEST_F()
1871 ASSERT_EQ(model.partitionTheWork(devices, ExecutePreference::PREFER_LOW_POWER, in TEST_F()
2015 ASSERT_EQ(model.partitionTheWork(devices, ExecutePreference::PREFER_LOW_POWER, in TEST_F()
[all …]
DTestNeuralNetworksWrapper.h45 using wrapper::ExecutePreference;
295 Result setPreference(ExecutePreference preference) { in setPreference()
DTestIntrospectionControl.cpp53 using ExecutePreference = nn::test_wrapper::ExecutePreference; typedef
/packages/modules/NeuralNetworks/shim_and_sl/
DShimDevice.cpp71 constexpr std::optional<::android::nn::wrapper::ExecutePreference> convertToNDKPreference( in convertToNDKPreference()
75 return ::android::nn::wrapper::ExecutePreference::PREFER_LOW_POWER; in convertToNDKPreference()
77 return ::android::nn::wrapper::ExecutePreference::PREFER_FAST_SINGLE_ANSWER; in convertToNDKPreference()
79 return ::android::nn::wrapper::ExecutePreference::PREFER_SUSTAINED_SPEED; in convertToNDKPreference()
/packages/modules/NeuralNetworks/runtime/include/
DNeuralNetworksWrapper.h60 enum class ExecutePreference { enum
499 Result setPreference(ExecutePreference preference) {
/packages/modules/NeuralNetworks/shim_and_sl/include/
DSupportLibraryWrapper.h387 Result setPreference(ExecutePreference preference) { in setPreference()