Home
last modified time | relevance | path

Searched refs:ExecutionPlan (Results 1 – 10 of 10) sorted by relevance

/packages/modules/NeuralNetworks/runtime/
DExecutionPlan.cpp404 ExecutionStep::ExecutionStep(ExecutionPlan* plan, uint32_t stepIndex, uint32_t sourceModelIndex, in ExecutionStep()
615 void ExecutionPlan::CompoundBody::findModelOutputsThatAreDownstreamInputs() { in findModelOutputsThatAreDownstreamInputs()
641 void ExecutionPlan::CompoundBody::findTempsAsStepModelOutputs() { in findTempsAsStepModelOutputs()
874 int ExecutionPlan::CompoundBody::finish(const SourceModels* sourceModels, in finish()
966 void ExecutionPlan::CompoundBody::findControlFlowBoundaryConstants( in findControlFlowBoundaryConstants()
1005 void ExecutionPlan::CompoundBody::findMemoryStepRoles() { in findMemoryStepRoles()
1093 int ExecutionPlan::SimpleBody::finish(const SourceModels*, int32_t executionPreference, in finish()
1110 int ExecutionPlan::finish(int32_t executionPreference, int32_t priority, in finish()
1117 ExecutionPlan::Controller::Controller( in Controller()
1118 const ExecutionPlan* plan, ExecutionBuilder* executionBuilder, in Controller()
[all …]
DExecutionPlan.h54 class ExecutionPlan; variable
238 ExecutionStep(ExecutionPlan* plan, uint32_t stepIndex, uint32_t sourceModelIndex,
324 ExecutionPlan* mPlan;
568 class ExecutionPlan {
570 ExecutionPlan(const ExecutionPlan&) = delete;
571 ExecutionPlan& operator=(const ExecutionPlan&) = delete;
573 ExecutionPlan() {} in ExecutionPlan() function
574 ~ExecutionPlan() { delete mBody; } in ~ExecutionPlan()
591 friend class ExecutionPlan; variable
600 Controller(const ExecutionPlan* plan, ExecutionBuilder* executionBuilder,
[all …]
DModelBuilder.h36 class ExecutionPlan; variable
131 uint32_t priority, const OptionalTimePoint& deadline, ExecutionPlan* plan,
164 const OptionalTimePoint& deadline, ExecutionPlan* plan) const;
DCompilationBuilder.h83 const ExecutionPlan& forTest_getExecutionPlan() const { return mPlan; } in forTest_getExecutionPlan()
91 ExecutionPlan mPlan;
DAndroid.bp90 "ExecutionPlan.cpp",
211 "ExecutionPlan.cpp",
DExecutionBuilder.h47 class ExecutionPlan; variable
170 const ExecutionPlan* mPlan;
DExecutionBuilder.cpp625 cpuFallbackPartial(const ExecutionPlan& plan, in cpuFallbackPartial()
626 std::shared_ptr<ExecutionPlan::Controller> controller) { in cpuFallbackPartial()
912 std::shared_ptr<ExecutionPlan::Controller> controller = mPlan->makeController(this, nullptr); in computeFencedInternal()
/packages/modules/NeuralNetworks/runtime/test/
DTestPartitioning.cpp161 using ExecutionPlan = ::android::nn::ExecutionPlan; typedef
848 const OptionalTimePoint& deadline, ExecutionPlan* plan) { in partitionTheWork()
962 const ExecutionPlan& getExecutionPlan() const { return builder()->forTest_getExecutionPlan(); } in getExecutionPlan()
995 using DynamicTemporariesType = decltype(ExecutionPlan().forTest_flatGetDynamicTemporaries());
1191 void checkExecutionPlanSteps(const ExecutionPlan& plan, in checkExecutionPlanSteps()
1197 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in checkExecutionPlanSteps()
1200 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::COMPOUND); in checkExecutionPlanSteps()
1602 ExecutionPlan planA; in TEST_F()
1607 ASSERT_EQ(planA.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in TEST_F()
1615 ExecutionPlan planC; in TEST_F()
[all …]
DTestPartitioningRandom.cpp109 using ExecutionPlan = nn::ExecutionPlan; typedef
242 const ExecutionPlan& getExecutionPlan() const { return builder()->forTest_getExecutionPlan(); } in getExecutionPlan()
1155 ASSERT_EQ(cWithFallback.getExecutionPlan().forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in TEST_P()
1161 const ExecutionPlan& plan = cNoFallback.getExecutionPlan(); in TEST_P()
1163 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in TEST_P()
1166 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::COMPOUND); in TEST_P()
1185 const ExecutionPlan& plan = c2.getExecutionPlan(); in TEST_P()
1189 if (plan.forTest_getKind() == ExecutionPlan::Kind::COMPOUND) { in TEST_P()
1220 const ExecutionPlan& plan = c2.getExecutionPlan(); in TEST_P()
1222 case ExecutionPlan::Kind::SIMPLE: in TEST_P()
[all …]
DTestFailingDriver.cpp149 const ExecutionPlan& plan = compilationBuilder->forTest_getExecutionPlan(); in TEST_F()
199 const ExecutionPlan& plan = compilationBuilder->forTest_getExecutionPlan(); in TEST_F()