Home
last modified time | relevance | path

Searched refs:ExecutionPreference (Results 1 – 20 of 20) 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.cpp52 const V1_3::Model& model, ExecutionPreference preference, Priority priority, in prepareModel_1_3()
DSampleDriverPartial.h44 const hal::V1_3::Model& model, hal::ExecutionPreference preference,
DSampleDriverUtils.h48 hal::ExecutionPreference preference, hal::Priority priority,
DSampleDriver.cpp171 model, this, ExecutionPreference::FAST_SINGLE_ANSWER, kDefaultPriority, {}, callback); in prepareModel()
176 const V1_1::Model& model, ExecutionPreference preference, in prepareModel_1_1()
185 const V1_2::Model& model, ExecutionPreference preference, const hidl_vec<hidl_handle>&, in prepareModel_1_2()
195 const V1_3::Model& model, ExecutionPreference preference, Priority priority, in prepareModel_1_3()
864 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
499 const V1_2::Model& model, ExecutionPreference preference, in prepareModel_1_2()
529 const V1_1::Model& model, ExecutionPreference preference, in prepareModel_1_1()
568 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.h107 const hal::ModelFactory& makeModel, hal::ExecutionPreference preference,
DManager.cpp103 const ModelFactory& makeModel, ExecutionPreference preference, Priority priority,
245 const ModelFactory& makeModel, ExecutionPreference preference, Priority priority, in prepareModel()
578 const ModelFactory& makeModel, ExecutionPreference preference, Priority priority,
653 const ModelFactory& makeModel, ExecutionPreference preference, Priority priority, in prepareModel()
DExecutionBuilder.cpp1137 const ExecutionPreference preference = in computeOnCpuFallback()
1138 static_cast<ExecutionPreference>(ANEURALNETWORKS_PREFER_FAST_SINGLE_ANSWER); in computeOnCpuFallback()
DVersionedInterfaces.cpp1204 const Model& model, ExecutionPreference preference, Priority priority, in prepareModelInternal()
1468 const ModelFactory& makeModel, ExecutionPreference preference, Priority priority, in prepareModel()
/frameworks/ml/nn/common/
DValidateHal.cpp934 bool validateExecutionPreference(ExecutionPreference preference) { in validateExecutionPreference()
935 return preference == ExecutionPreference::LOW_POWER || in validateExecutionPreference()
936 preference == ExecutionPreference::FAST_SINGLE_ANSWER || in validateExecutionPreference()
937 preference == ExecutionPreference::SUSTAINED_SPEED; in validateExecutionPreference()
/frameworks/ml/nn/runtime/test/fuzzing/
DTestRandomGraph.cpp77 const V1_1::Model& model, ExecutionPreference preference, in prepareModel_1_1()