Home
last modified time | relevance | path

Searched refs:ExecutionPreference (Results 1 – 22 of 22) sorted by relevance

/frameworks/ml/nn/driver/sample/
DSampleDriver.h86 const hal::V1_1::Model& model, hal::ExecutionPreference preference,
89 const hal::V1_2::Model& model, hal::ExecutionPreference preference,
94 const hal::V1_3::Model& model, hal::ExecutionPreference preference,
131 hal::ExecutionPreference preference, uid_t userId, hal::Priority priority) in SamplePreparedModel()
178 const hal::ExecutionPreference kPreference;
DSampleDriverPartial.h44 const hal::V1_3::Model& model, hal::ExecutionPreference preference,
DSampleDriverPartial.cpp52 const V1_3::Model& model, ExecutionPreference preference, Priority priority, in prepareModel_1_3()
DSampleDriverUtils.h48 hal::ExecutionPreference preference, hal::Priority priority,
DSampleDriver.cpp170 model, this, ExecutionPreference::FAST_SINGLE_ANSWER, kDefaultPriority, {}, callback); in prepareModel()
175 const V1_1::Model& model, ExecutionPreference preference, in prepareModel_1_1()
184 const V1_2::Model& model, ExecutionPreference preference, const hidl_vec<hidl_handle>&, in prepareModel_1_2()
194 const V1_3::Model& model, ExecutionPreference preference, Priority priority, in prepareModel_1_3()
863 const bool preferPowerOverLatency = (kPreference == ExecutionPreference::LOW_POWER); in configureExecutionBurst()
/frameworks/ml/nn/runtime/test/
DTestExecution.cpp334 const HidlModel& model, ExecutionPreference preference, Priority priority, in prepareModel_1_3()
364 const V1_2::Model& model, ExecutionPreference preference, in prepareModel_1_2()
394 const V1_1::Model& model, ExecutionPreference preference, in prepareModel_1_1()
422 return prepareModel_1_1(nn::convertToV1_1(model), ExecutionPreference::FAST_SINGLE_ANSWER, in prepareModel()
457 const V1_2::Model& model, ExecutionPreference preference, in prepareModel_1_2()
465 const V1_1::Model& model, ExecutionPreference preference, in prepareModel_1_1()
508 const V1_1::Model& model, ExecutionPreference preference, in prepareModel_1_1()
DTestIntrospectionControl.cpp419 : SamplePreparedModel(model, driver, ExecutionPreference::FAST_SINGLE_ANSWER, uid_t{}, in TestPreparedModelLatest()
695 const HidlModel& model, ExecutionPreference, Priority, const OptionalTimePoint&, in prepareModel_1_3() argument
704 const V1_2::Model& model, ExecutionPreference, const hidl_vec<hidl_handle>&, in prepareModel_1_2() argument
713 const V1_1::Model& model, ExecutionPreference, in prepareModel_1_1() argument
722 return prepareModel_1_1(nn::convertToV1_1(model), ExecutionPreference::FAST_SINGLE_ANSWER, in prepareModel()
743 const V1_1::Model& model, ExecutionPreference preference, in prepareModel_1_1()
DTestPartitioningRandom.cpp573 const HidlModel& model, ExecutionPreference preference, Priority priority, in prepareModel_1_3()
615 const V1_2::Model& model, ExecutionPreference preference, in prepareModel_1_2()
645 const V1_1::Model& model, ExecutionPreference preference, in prepareModel_1_1()
680 const V1_1::Model& model, ExecutionPreference preference, in prepareModel_1_1()
DTestVersionedInterfaces.cpp132 (const V1_1::Model& model, ExecutionPreference preference,
146 (const V1_2::Model& model, ExecutionPreference preference,
160 (const V1_3::Model& model, ExecutionPreference preference, Priority priority,
328 const V1_1::Model& /*model*/, ExecutionPreference /*preference*/, in makePreparedModel_1_1Return()
337 const V1_2::Model& /*model*/, ExecutionPreference /*preference*/, in makePreparedModel_1_2Return() argument
347 const V1_3::Model& /*model*/, ExecutionPreference /*preference*/, in makePreparedModel_1_3Return() argument
DTestCompilationCaching.cpp189 const Model&, ExecutionPreference, Priority, const OptionalTimePoint&, in prepareModel_1_3() argument
DTestPartitioning.cpp387 const Model& model, ExecutionPreference, Priority, const OptionalTimePoint&, in prepareModel_1_3() argument
509 const V1_2::Model& model, ExecutionPreference preference, in prepareModel_1_2()
539 const V1_1::Model& model, ExecutionPreference preference, in prepareModel_1_1()
578 const V1_1::Model& model, ExecutionPreference preference, in prepareModel_1_1()
/frameworks/ml/nn/common/include/
DValidateHal.h65 bool validateExecutionPreference(hal::ExecutionPreference preference);
DHalInterfaces.h68 using V1_1::ExecutionPreference;
/frameworks/ml/nn/runtime/
DVersionedInterfaces.h223 const hal::ModelFactory& makeModel, hal::ExecutionPreference preference, hal::Priority,
393 const hal::Model& model, hal::ExecutionPreference preference, hal::Priority priority,
DManager.cpp102 const ModelFactory& makeModel, ExecutionPreference preference, Priority priority,
244 const ModelFactory& makeModel, ExecutionPreference preference, Priority priority, in prepareModel()
577 const ModelFactory& makeModel, ExecutionPreference preference, Priority priority,
652 const ModelFactory& makeModel, ExecutionPreference preference, Priority priority, in prepareModel()
DManager.h107 const hal::ModelFactory& makeModel, hal::ExecutionPreference preference,
DExecutionBuilder.cpp1135 const ExecutionPreference preference = in computeOnCpuFallback()
1136 static_cast<ExecutionPreference>(ANEURALNETWORKS_PREFER_FAST_SINGLE_ANSWER); in computeOnCpuFallback()
DVersionedInterfaces.cpp1207 const Model& model, ExecutionPreference preference, Priority priority, in prepareModelInternal()
1471 const ModelFactory& makeModel, ExecutionPreference preference, Priority priority, in prepareModel()
DExecutionPlan.cpp89 const ExecutionPreference preference = static_cast<ExecutionPreference>(executionPreference); in compile()
/frameworks/ml/nn/common/
DValidateHal.cpp933 bool validateExecutionPreference(ExecutionPreference preference) { in validateExecutionPreference()
934 return preference == ExecutionPreference::LOW_POWER || in validateExecutionPreference()
935 preference == ExecutionPreference::FAST_SINGLE_ANSWER || in validateExecutionPreference()
936 preference == ExecutionPreference::SUSTAINED_SPEED; in validateExecutionPreference()
/frameworks/ml/nn/runtime/test/android_fuzzing/
DDriverFuzzTest.cpp291 device->prepareModel_1_3(model, V1_1::ExecutionPreference::FAST_SINGLE_ANSWER, in prepareModel()
/frameworks/ml/nn/runtime/test/fuzzing/
DTestRandomGraph.cpp77 const V1_1::Model& model, ExecutionPreference preference, in prepareModel_1_1()