Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/runtime/
DExecutionPlan.h278 int32_t executionPreference, int32_t priority);
715 int finish(int32_t executionPreference, int32_t priority, const OptionalTimePoint& deadline,
835 virtual int finish(const SourceModels* sourceModels, int32_t executionPreference,
854 int finish(const SourceModels* sourceModels, int32_t executionPreference, int32_t priority,
876 int finish(const SourceModels* sourceModels, int32_t executionPreference, int32_t priority,
DExecutionPlan.cpp105 int compile(const Device& device, const ModelBuilder& model, int executionPreference, in compile() argument
117 token->update(&executionPreference, sizeof(executionPreference)) && in compile()
126 const ExecutionPreference preference = static_cast<ExecutionPreference>(executionPreference); in compile()
785 int32_t executionPreference, int32_t priority) { in finishStepModel() argument
875 return compile(*mDevice, mStepModel, executionPreference, priority, {}, *mPlan->getCacheInfo(), in finishStepModel()
915 int32_t executionPreference, int32_t priority, in finish() argument
941 executionPreference, priority); in finish()
1138 int ExecutionPlan::SimpleBody::finish(const SourceModels*, int32_t executionPreference, in finish() argument
1145 int n = compile(*mDevice, *mModel, executionPreference, priority, deadline, *mCacheInfo, in finish()
1160 int ExecutionPlan::finish(int32_t executionPreference, int32_t priority, in finish() argument
[all …]
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DValidation.h47 Result<Version> validate(const ExecutionPreference& executionPreference);
DTypeUtils.h90 std::ostream& operator<<(std::ostream& os, const ExecutionPreference& executionPreference);
/packages/modules/NeuralNetworks/common/types/src/
DTypeUtils.cpp321 std::ostream& operator<<(std::ostream& os, const ExecutionPreference& executionPreference) { in operator <<() argument
322 switch (executionPreference) { in operator <<()
330 return os << "ExecutionPreference{" << underlyingType(executionPreference) << "}"; in operator <<()
DValidation.cpp101 Result<Version> validateExecutionPreference(const ExecutionPreference& executionPreference) { in validateExecutionPreference() argument
102 switch (executionPreference) { in validateExecutionPreference()
111 NN_RET_CHECK_FAIL() << "Invalid ExecutionPreference " << executionPreference; in validateExecutionPreference()
1830 Result<Version> validate(const ExecutionPreference& executionPreference) { in validate() argument
1831 return validateExecutionPreference(executionPreference); in validate()