Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/runtime/
DExecutionPlan.cpp444 ExecutionStep::ExecutionStep(ExecutionPlan* plan, uint32_t stepIndex, uint32_t sourceModelIndex, in ExecutionStep()
655 void ExecutionPlan::CompoundBody::findModelOutputsThatAreDownstreamInputs() { in findModelOutputsThatAreDownstreamInputs()
681 void ExecutionPlan::CompoundBody::findTempsAsStepModelOutputs() { in findTempsAsStepModelOutputs()
914 int ExecutionPlan::CompoundBody::finish(const SourceModels* sourceModels, in finish()
1011 void ExecutionPlan::CompoundBody::findControlFlowBoundaryConstants( in findControlFlowBoundaryConstants()
1050 void ExecutionPlan::CompoundBody::findMemoryStepRoles() { in findMemoryStepRoles()
1138 int ExecutionPlan::SimpleBody::finish(const SourceModels*, int32_t executionPreference, in finish()
1160 int ExecutionPlan::finish(int32_t executionPreference, int32_t priority, in finish()
1169 ExecutionPlan::Controller::Controller( in Controller()
1170 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.h37 class ExecutionPlan; variable
133 uint32_t priority, const OptionalTimePoint& deadline, ExecutionPlan* plan,
169 const OptionalTimePoint& deadline, ExecutionPlan* plan) const;
DCompilationBuilder.h94 const ExecutionPlan& forTest_getExecutionPlan() const { return mPlan; } in forTest_getExecutionPlan()
108 ExecutionPlan mPlan;
DAndroid.bp93 "ExecutionPlan.cpp",
289 "ExecutionPlan.cpp",
DExecutionBuilder.h48 class ExecutionPlan; variable
189 const ExecutionPlan* mPlan;
DExecutionBuilder.cpp664 cpuFallbackPartial(const ExecutionPlan& plan, in cpuFallbackPartial()
665 std::shared_ptr<ExecutionPlan::Controller> controller) { in cpuFallbackPartial()
951 std::shared_ptr<ExecutionPlan::Controller> controller = mPlan->makeController(this, nullptr); in computeFencedInternal()
/packages/modules/NeuralNetworks/runtime/test/
DTestPartitioning.cpp162 using ExecutionPlan = ::android::nn::ExecutionPlan; typedef
849 const OptionalTimePoint& deadline, ExecutionPlan* plan) { in partitionTheWork()
963 const ExecutionPlan& getExecutionPlan() const { return builder()->forTest_getExecutionPlan(); } in getExecutionPlan()
996 using DynamicTemporariesType = decltype(ExecutionPlan().forTest_flatGetDynamicTemporaries());
1192 void checkExecutionPlanSteps(const ExecutionPlan& plan, in checkExecutionPlanSteps()
1198 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in checkExecutionPlanSteps()
1201 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::COMPOUND); in checkExecutionPlanSteps()
1603 ExecutionPlan planA; in TEST_F()
1608 ASSERT_EQ(planA.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in TEST_F()
1616 ExecutionPlan planC; in TEST_F()
[all …]
DTestPartitioningRandom.cpp106 using ExecutionPlan = nn::ExecutionPlan; typedef
239 const ExecutionPlan& getExecutionPlan() const { return builder()->forTest_getExecutionPlan(); } in getExecutionPlan()
1139 ASSERT_EQ(cWithFallback.getExecutionPlan().forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in TEST_P()
1145 const ExecutionPlan& plan = cNoFallback.getExecutionPlan(); in TEST_P()
1147 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in TEST_P()
1150 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::COMPOUND); in TEST_P()
1169 const ExecutionPlan& plan = c2.getExecutionPlan(); in TEST_P()
1173 if (plan.forTest_getKind() == ExecutionPlan::Kind::COMPOUND) { in TEST_P()
1204 const ExecutionPlan& plan = c2.getExecutionPlan(); in TEST_P()
1206 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()