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