• Home
  • Raw
  • Download

Lines Matching refs:plan

848                          const OptionalTimePoint& deadline, ExecutionPlan* plan) {  in partitionTheWork()  argument
851 static_cast<int32_t>(priority), deadline, plan); in partitionTheWork()
1191 void checkExecutionPlanSteps(const ExecutionPlan& plan, in checkExecutionPlanSteps() argument
1197 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in checkExecutionPlanSteps()
1198 actual.emplace_back(plan.forTest_simpleGetDevice()->getName()); in checkExecutionPlanSteps()
1200 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::COMPOUND); in checkExecutionPlanSteps()
1201 const auto& steps = plan.forTest_compoundGetSteps(); in checkExecutionPlanSteps()
1830 ExecutionPlan plan; in TEST_F() local
1832 ExecutePriority::DEFAULT, {}, &plan), in TEST_F()
1834 EXPECT_TRUE(plan.forTest_flatGetDynamicTemporaries().empty()); in TEST_F()
1835 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in TEST_F()
1836 ASSERT_NE(plan.forTest_simpleGetDevice().get(), nullptr); in TEST_F()
1837 ASSERT_EQ(plan.forTest_simpleGetDevice()->getName(), "V1_3"); in TEST_F()
1870 ExecutionPlan plan; in TEST_F() local
1872 ExecutePriority::DEFAULT, {}, &plan), in TEST_F()
1874 EXPECT_TRUE(plan.forTest_flatGetDynamicTemporaries().empty()); in TEST_F()
1875 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::COMPOUND); in TEST_F()
1876 const auto& steps = plan.forTest_compoundGetSteps(); in TEST_F()
2014 ExecutionPlan plan; in TEST_F() local
2016 ExecutePriority::DEFAULT, {}, &plan), in TEST_F()
2018 EXPECT_TRUE(plan.forTest_flatGetDynamicTemporaries().empty()); in TEST_F()
2019 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::COMPOUND); in TEST_F()
2020 const auto& steps = plan.forTest_compoundGetSteps(); in TEST_F()
2118 ExecutionPlan plan; in TEST_F() local
2120 ExecutePriority::DEFAULT, {}, &plan), in TEST_F()
2122 EXPECT_TRUE(plan.forTest_flatGetDynamicTemporaries().empty()); in TEST_F()
2123 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in TEST_F()
2124 ASSERT_EQ(plan.forTest_simpleGetDevice()->getName(), expectDevice); in TEST_F()
2172 ExecutionPlan plan; in TEST_F() local
2174 ExecutePriority::DEFAULT, {}, &plan), in TEST_F()
2176 EXPECT_TRUE(plan.forTest_flatGetDynamicTemporaries().empty()); in TEST_F()
2177 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in TEST_F()
2178 ASSERT_EQ(plan.forTest_simpleGetDevice()->getName(), "good"); in TEST_F()
2192 ExecutionPlan plan; in TEST_F() local
2194 ExecutePriority::DEFAULT, {}, &plan), in TEST_F()
2196 EXPECT_TRUE(plan.forTest_flatGetDynamicTemporaries().empty()); in TEST_F()
2197 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in TEST_F()
2198 ASSERT_EQ(plan.forTest_simpleGetDevice()->getName(), "base"); in TEST_F()
2655 const ExecutionPlan& plan = compilation.getExecutionPlan(); in getTransformedCacheTokenSingle() local
2659 if (plan.forTest_getKind() == ExecutionPlan::Kind::SIMPLE) { in getTransformedCacheTokenSingle()
2661 ASSERT_EQ(plan.forTest_simpleGetDevice()->getName(), deviceName); in getTransformedCacheTokenSingle()
2662 token = plan.forTest_simpleGetCacheToken(); in getTransformedCacheTokenSingle()
2663 } else if (plan.forTest_getKind() == ExecutionPlan::Kind::COMPOUND) { in getTransformedCacheTokenSingle()
2664 const auto& steps = plan.forTest_compoundGetSteps(); in getTransformedCacheTokenSingle()
3221 ExecutionPlan plan; in TEST_F() local
3223 ExecutePriority::DEFAULT, {}, &plan), in TEST_F()
3225 checkExecutionPlanSteps(plan, {kIfStep, "V1_0", kGotoStep, "V1_0"}); in TEST_F()
3235 ExecutionPlan plan; in TEST_F() local
3237 ExecutePriority::DEFAULT, {}, &plan), in TEST_F()
3240 checkExecutionPlanSteps(plan, {kWhileStep, cpuDeviceName, kGotoStep, "V1_0", kGotoStep}); in TEST_F()
3254 ExecutionPlan plan; in TEST_F() local
3256 ExecutePriority::DEFAULT, {}, &plan), in TEST_F()
3258 checkExecutionPlanSteps(plan, {"ALL"}); in TEST_F()
3272 ExecutionPlan plan; in TEST_F() local
3274 ExecutePriority::DEFAULT, {}, &plan), in TEST_F()
3276 checkExecutionPlanSteps(plan, {"ALL"}); in TEST_F()
3299 ExecutionPlan plan; in testIfUnknownSize() local
3301 ExecutePriority::DEFAULT, {}, &plan), in testIfUnknownSize()
3304 checkExecutionPlanSteps(plan, {DeviceManager::getCpuDevice()->getName()}); in testIfUnknownSize()
3342 ExecutionPlan plan; in testWhileUnknownSize() local
3344 ExecutePriority::DEFAULT, {}, &plan), in testWhileUnknownSize()
3347 checkExecutionPlanSteps(plan, {DeviceManager::getCpuDevice()->getName()}); in testWhileUnknownSize()