Lines Matching defs:taskgroup
1236 // TDG: we only release taskgroup barrier here because
1374 task->td_taskgroup = NULL; // An implicit task does not have taskgroup
1639 parent_task->td_taskgroup; // task inherits taskgroup from the parent task
1810 kmp_taskgroup_t *taskgroup = taskdata->td_taskgroup;
1811 if ((taskgroup && taskgroup->cancel_request) ||
1819 ((taskgroup && taskgroup->cancel_request) ? ompt_cancel_taskgroup
2541 KA_TRACE(10, ("__kmpc_task_reduction_init: T#%d, taskgroup %p, #items %d\n",
2584 @return The taskgroup identifier
2586 Initialize task reduction for the taskgroup.
2613 @return The taskgroup identifier
2615 Initialize task reduction for the taskgroup.
2640 KA_TRACE(20, ("__kmp_task_reduction_init_copy: Th %p, init taskgroup %p,"
2657 @param tskgrp The taskgroup ID (optional)
2789 __kmpc_taskgroup(loc, gtid); // form new taskgroup first
2833 @return The taskgroup identifier
2855 @return The taskgroup identifier
2880 // __kmpc_taskgroup: Start a new taskgroup
2919 kmp_taskgroup_t *taskgroup = taskdata->td_taskgroup;
2939 KMP_DEBUG_ASSERT(taskgroup != NULL);
2948 // For ITT the taskgroup wait is similar to taskwait until we need to
2969 RCAST(std::atomic<kmp_uint32> *, &(taskgroup->count)), 0U);
2970 while (KMP_ATOMIC_LD_ACQ(&taskgroup->count) != 0) {
2991 KMP_DEBUG_ASSERT(taskgroup->count == 0);
2993 if (taskgroup->reduce_data != NULL &&
2994 !taskgroup->gomp_data) { // need to reduce?
2998 kmp_taskred_data_t *arr = (kmp_taskred_data_t *)taskgroup->reduce_data;
3008 __kmp_task_reduction_fini(thread, taskgroup);
3017 __kmp_task_reduction_clean(thread, taskgroup);
3026 __kmp_task_reduction_fini(thread, taskgroup);
3035 __kmp_task_reduction_clean(thread, taskgroup);
3038 // finishing task reduction on taskgroup
3039 __kmp_task_reduction_fini(thread, taskgroup);
3042 // Restore parent taskgroup for the current task
3043 taskdata->td_taskgroup = taskgroup->parent;
3044 __kmp_thread_free(thread, taskgroup);
4716 // task inherits the taskgroup from the parent task
5560 // The taskgroup is different so we must update it
5563 // If the parent doesnt have a taskgroup, remove it from the task