Lines Matching refs:plan
798 const std::optional<Deadline>& deadline, ExecutionPlan* plan) { in partitionTheWork() argument
801 static_cast<int32_t>(priority), deadline, plan); in partitionTheWork()
1669 ExecutionPlan plan; in TEST_F() local
1671 ExecutePriority::DEFAULT, {}, &plan), in TEST_F()
1673 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in TEST_F()
1674 ASSERT_NE(plan.forTest_simpleGetDevice().get(), nullptr); in TEST_F()
1675 ASSERT_EQ(plan.forTest_simpleGetDevice()->getName(), "V1_3"); in TEST_F()
1708 ExecutionPlan plan; in TEST_F() local
1710 ExecutePriority::DEFAULT, {}, &plan), in TEST_F()
1712 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::COMPOUND); in TEST_F()
1713 const auto& steps = plan.forTest_compoundGetSteps(); in TEST_F()
1853 ExecutionPlan plan; in TEST_F() local
1855 ExecutePriority::DEFAULT, {}, &plan), in TEST_F()
1857 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::COMPOUND); in TEST_F()
1858 const auto& steps = plan.forTest_compoundGetSteps(); in TEST_F()
1954 ExecutionPlan plan; in TEST_F() local
1956 ExecutePriority::DEFAULT, {}, &plan), in TEST_F()
1958 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in TEST_F()
1959 ASSERT_EQ(plan.forTest_simpleGetDevice()->getName(), expectDevice); in TEST_F()
2007 ExecutionPlan plan; in TEST_F() local
2009 ExecutePriority::DEFAULT, {}, &plan), in TEST_F()
2011 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in TEST_F()
2012 ASSERT_EQ(plan.forTest_simpleGetDevice()->getName(), "good"); in TEST_F()
2026 ExecutionPlan plan; in TEST_F() local
2028 ExecutePriority::DEFAULT, {}, &plan), in TEST_F()
2030 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in TEST_F()
2031 ASSERT_EQ(plan.forTest_simpleGetDevice()->getName(), "base"); in TEST_F()
2093 const ExecutionPlan& plan = compilation.getExecutionPlan(); in getTransformedCacheTokenSingle() local
2097 if (plan.forTest_getKind() == ExecutionPlan::Kind::SIMPLE) { in getTransformedCacheTokenSingle()
2099 ASSERT_EQ(plan.forTest_simpleGetDevice()->getName(), deviceName); in getTransformedCacheTokenSingle()
2100 token = plan.forTest_simpleGetCacheToken(); in getTransformedCacheTokenSingle()
2101 } else if (plan.forTest_getKind() == ExecutionPlan::Kind::COMPOUND) { in getTransformedCacheTokenSingle()
2102 const auto& steps = plan.forTest_compoundGetSteps(); in getTransformedCacheTokenSingle()
2659 ExecutionPlan plan; in TEST_F() local
2661 ExecutePriority::DEFAULT, {}, &plan), in TEST_F()
2663 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::COMPOUND); in TEST_F()
2664 const auto& steps = plan.forTest_compoundGetSteps(); in TEST_F()
2681 ExecutionPlan plan; in TEST_F() local
2683 ExecutePriority::DEFAULT, {}, &plan), in TEST_F()
2685 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::COMPOUND); in TEST_F()
2686 const auto& steps = plan.forTest_compoundGetSteps(); in TEST_F()
2705 ExecutionPlan plan; in TEST_F() local
2707 ExecutePriority::DEFAULT, {}, &plan), in TEST_F()
2709 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in TEST_F()
2710 ASSERT_EQ(plan.forTest_simpleGetDevice()->getName(), "ALL"); in TEST_F()
2723 ExecutionPlan plan; in TEST_F() local
2725 ExecutePriority::DEFAULT, {}, &plan), in TEST_F()
2727 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in TEST_F()
2728 ASSERT_EQ(plan.forTest_simpleGetDevice()->getName(), "ALL"); in TEST_F()
2747 ExecutionPlan plan; in testIfUnknownSize() local
2749 ExecutePriority::DEFAULT, {}, &plan), in testIfUnknownSize()
2752 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in testIfUnknownSize()
2753 ASSERT_EQ(plan.forTest_simpleGetDevice()->getName(), DeviceManager::getCpuDevice()->getName()); in testIfUnknownSize()
2790 ExecutionPlan plan; in testWhileUnknownSize() local
2792 ExecutePriority::DEFAULT, {}, &plan), in testWhileUnknownSize()
2795 ASSERT_EQ(plan.forTest_getKind(), ExecutionPlan::Kind::SIMPLE); in testWhileUnknownSize()
2796 ASSERT_EQ(plan.forTest_simpleGetDevice()->getName(), DeviceManager::getCpuDevice()->getName()); in testWhileUnknownSize()