Lines Matching full:tasks
47 // __kmp_trace_task_stack: print the tied tasks from the task stack in order
166 return; // Don't push anything on stack if team or team tasks are serialized in __kmp_push_task_stack()
226 // Don't pop anything from stack if team or team tasks are serialized in __kmp_pop_task_stack()
268 // only descendant of all deferred tied tasks can be scheduled, checking
352 // The function finds the deque of priority tasks with given priority, or
354 // Deques of non-default priority tasks are shared between all threads in team,
355 // as opposed to per-thread deques of tasks with default priority.
362 // Found queue of tasks with given priority.
365 // All current priority queues contain tasks with lower priority.
366 // Allocate new one for given priority tasks.
387 // Found queue of tasks with given priority.
429 // Found queue of tasks with given priority.
519 // Now that serialized tasks have returned, we can assume that we are not in
585 // Must have room since no thread can add tasks but calling thread
637 // tasks of new team
907 // do not free tasks in taskgraph
946 // Proxy tasks must always be allowed to free their parents
1107 /* If the tasks' destructor thunk flag has been set, we need to invoke the
1109 placed here, since at this point other tasks might have been released
1111 released tasks. The OpenMP spec is not specific on when the destructors
1153 // Tasks with valid target async handles must be re-enqueued.
1198 // if we found proxy or hidden helper tasks there could exist a dependency
1209 // Decrement the counter of hidden helper tasks to be executed.
1211 // Hidden helper tasks can only be executed by hidden helper threads.
1221 // Free this task and then ancestor tasks if they have no children.
1353 // All implicit tasks are executed immediately, not deferred
1391 // __kmp_finish_implicit_task: Release resources associated to implicit tasks
1421 // __kmp_free_implicit_task: Release resources associated to implicit tasks
1500 // Detachable tasks are not proxy tasks yet but could be in the future. Doing
1598 // avoid copying icvs for proxy tasks
1621 // implicit parallel region tasks are not left until program termination to
1658 // Only need to keep track of allocated child tasks for explicit tasks since
1665 // Increment the number of hidden helper tasks to be executed
1784 // For untied tasks, the first task executed only calls __kmpc_omp_task and
1799 // Proxy tasks are not handled by the runtime
1804 // TODO: cancel tasks if the parallel region has also been cancelled
1937 // Proxy tasks are not handled by the runtime
2346 // __kmpc_omp_taskwait: Wait until all tasks generated by the current task are
2442 /*! 1 - use lazy alloc/init (e.g. big objects, num tasks < num threads) */
2451 void *reduce_shar; /**< shared between tasks item to reduce into */
2464 void *reduce_shar; /**< shared between tasks item to reduce into */
2482 void *reduce_shar; /**< shared between tasks item to reduce into */
2913 // __kmpc_end_taskgroup: Wait until all tasks generated by the current task
3068 20, ("__kmp_get_priority_task(exit #1): T#%d No tasks to get\n", gtid));
3079 KA_TRACE(20, ("__kmp_get_priority_task(exit #2): T#%d No tasks to get\n",
3093 KA_TRACE(20, ("__kmp_get_priority_task: T#%d No tasks to get from %p\n",
3142 // shift remaining tasks in the deque left by 1
3179 ("__kmp_remove_my_task(exit #1): T#%d No tasks to remove: "
3191 ("__kmp_remove_my_task(exit #2): T#%d No tasks to remove: "
3323 // shift remaining tasks in the deque left by 1
3362 // __kmp_execute_tasks_template: Choose and execute tasks until either the
3367 // the tasks it has on its deque, and is at the release barrier.
3404 while (1) { // Outer loop keeps trying to find tasks in case of single thread
3405 // getting tasks from target constructs
3444 // extra barrier mode, tasks do not sleep at the separate tasking
3453 // A sleeping thread should not have any tasks on it's queue.
3455 // from another thread, which spawns more tasks, all in the time
3473 // vicitm, unless the last one generated more local tasks;
3477 } else { // No tasks found; unset last_stolen
3517 // If execution of a stolen task results in more tasks being placed on our
3521 "other tasks, restart\n",
3530 // but there might be proxy tasks still executing.
3562 // there are no more tasks; bail out
3565 ("__kmp_execute_tasks_template: T#%d no more tasks\n", gtid));
3571 // outside any parallel region. Detached tasks are not impacted in this case
3581 // We could be getting tasks from target constructs; if this is the only
3582 // thread, keep trying to execute tasks from own queue
3659 // next barrier so they can assist in executing enqueued tasks.
3693 // tasks and execute them. In extra barrier mode, tasks do not sleep
3736 * expected to participate in the execution of any tasks that may have been
3750 * tasks were spawned since the last barrier. If the structure is to be
3753 * barriers, when no explicit tasks were spawned (pushed, actually).
3936 // Deallocates tasking deques used for priority tasks.
4105 // trying to steal tasks. Wait for each thread to unreference its task team.
4208 // checking for tasks (they can't safely reference the kmp_team_t struct,
4274 // __kmp_task_team_wait: Primary thread waits for outstanding tasks after the
4290 KA_TRACE(20, ("__kmp_task_team_wait: Primary T#%d waiting for all tasks "
4294 // still be executing tasks. Wait here for tasks to complete. To avoid
4321 // Internal function to execute all tasks prior to a regular barrier or a join
4440 /* The finish of the proxy tasks is divided in two pieces:
4729 // Only need to keep track of allocated child tasks for explicit tasks since
4747 // (used to form taskloop tasks from pattern task)
4858 // __kmp_taskloop_linear: Start tasks of the taskloop linearly
4867 // num_tasks Number of tasks to execute
4872 // task_dup Tasks duplication routine
4900 KA_TRACE(20, ("__kmp_taskloop_linear: T#%d: %lld tasks, grainsize %lld, "
4905 // Launch num_tasks tasks, assign grainsize iterations each task
5034 ("__kmp_taskloop_task: T#%d, task %p: %lld tasks, grainsize"
5069 // num_tasks Number of tasks to execute
5074 // num_t_min Threshold to launch tasks recursively
5075 // task_dup Tasks duplication routine
5091 ("__kmp_taskloop_recur: T#%d, task %p: %lld tasks, grainsize"
5278 // let's try to schedule (team_size*10) tasks
5325 // always start serial tasks linearly
5332 // !taskdata->td_flags.native => currently force linear spawning of tasks
5335 KA_TRACE(20, ("__kmp_taskloop: T#%d, go recursive: tc %llu, #tasks %llu"
5346 KA_TRACE(20, ("__kmp_taskloop: T#%d, go linear: tc %llu, #tasks %llu"
5387 @param task_dup Tasks duplication routine
5414 @param task_dup Tasks duplication routine