Searched refs:ExecutePreference (Results 1 – 6 of 6) sorted by relevance
/packages/modules/NeuralNetworks/runtime/test/ |
D | TestPartitioning.cpp | 159 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 …]
|
D | TestNeuralNetworksWrapper.h | 45 using wrapper::ExecutePreference; 295 Result setPreference(ExecutePreference preference) { in setPreference()
|
D | TestIntrospectionControl.cpp | 53 using ExecutePreference = nn::test_wrapper::ExecutePreference; typedef
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimDevice.cpp | 71 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/ |
D | NeuralNetworksWrapper.h | 60 enum class ExecutePreference { enum 499 Result setPreference(ExecutePreference preference) {
|
/packages/modules/NeuralNetworks/shim_and_sl/include/ |
D | SupportLibraryWrapper.h | 387 Result setPreference(ExecutePreference preference) { in setPreference()
|