Lines Matching refs:t
144 static void mark_task_stolen(Task &t) { in mark_task_stolen()
145 std::atomic<bool> &flag = static_cast<tree_node*>(t.my_parent)->m_child_stolen; in mark_task_stolen()
154 static bool is_peer_stolen(Task &t) { in is_peer_stolen()
155 return static_cast<tree_node*>(t.my_parent)->m_child_stolen.load(std::memory_order_relaxed); in is_peer_stolen()
372 void spawn_task(task& t, task_group_context& ctx) { in spawn_task()
374 spawn(t, ctx, slot_id(my_head)); in spawn_task()
376 spawn(t, ctx); in spawn_task()
408 … bool check_being_stolen(Task &t, const execution_data& ed) { // part of old should_execute_range() in check_being_stolen()
411 …if( is_stolen_task(ed) && t.my_parent->m_ref_count >= 2 ) { // runs concurrently with the left task in check_being_stolen()
419 tree_node::mark_task_stolen(t); in check_being_stolen()
456 bool check_for_demand(Task& t) { in check_for_demand()
464 else if ( tree_node::is_peer_stolen(t) ) { in check_for_demand()
492 bool check_for_demand(Task& t) { in check_for_demand() argument
493 if (tree_node::is_peer_stolen(t)) { in check_for_demand()
498 void spawn_task(task& t, task_group_context& ctx) { in spawn_task() argument
499 spawn(t, ctx); in spawn_task()
515 void spawn_task(task& t, task_group_context& ctx) { in spawn_task() argument
516 spawn(t, ctx); in spawn_task()
551 void spawn_task(task& t, task_group_context& ctx) { in spawn_task() argument
555 spawn(t, ctx, slot_id(my_head / factor)); in spawn_task()
557 spawn(t, ctx, my_array[my_head]); in spawn_task()
560 spawn(t, ctx); in spawn_task()