reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/openmp/runtime/src/kmp_tasking.cpp
 1240   taskdata = (kmp_taskdata_t *)__kmp_fast_allocate(thread, shareds_offset +
 1248   task = KMP_TASKDATA_TO_TASK(taskdata);
 1260     task->shareds = &((char *)taskdata)[shareds_offset];
 1270   taskdata->td_task_id = KMP_GEN_TASK_ID();
 1271   taskdata->td_team = team;
 1272   taskdata->td_alloc_thread = thread;
 1273   taskdata->td_parent = parent_task;
 1274   taskdata->td_level = parent_task->td_level + 1; // increment nesting level
 1275   KMP_ATOMIC_ST_RLX(&taskdata->td_untied_count, 0);
 1276   taskdata->td_ident = loc_ref;
 1277   taskdata->td_taskwait_ident = NULL;
 1278   taskdata->td_taskwait_counter = 0;
 1279   taskdata->td_taskwait_thread = 0;
 1283     copy_icvs(&taskdata->td_icvs, &taskdata->td_parent->td_icvs);
 1283     copy_icvs(&taskdata->td_icvs, &taskdata->td_parent->td_icvs);
 1285   taskdata->td_flags.tiedness = flags->tiedness;
 1286   taskdata->td_flags.final = flags->final;
 1287   taskdata->td_flags.merged_if0 = flags->merged_if0;
 1288   taskdata->td_flags.destructors_thunk = flags->destructors_thunk;
 1289   taskdata->td_flags.proxy = flags->proxy;
 1290   taskdata->td_flags.detachable = flags->detachable;
 1291   taskdata->td_task_team = thread->th.th_task_team;
 1292   taskdata->td_size_alloc = shareds_offset + sizeof_shareds;
 1293   taskdata->td_flags.tasktype = TASK_EXPLICIT;
 1296   taskdata->td_flags.tasking_ser = (__kmp_tasking_mode == tskm_immediate_exec);
 1299   taskdata->td_flags.team_serial = (team->t.t_serialized) ? 1 : 0;
 1305   taskdata->td_flags.task_serial =
 1306       (parent_task->td_flags.final || taskdata->td_flags.team_serial ||
 1307        taskdata->td_flags.tasking_ser);
 1309   taskdata->td_flags.started = 0;
 1310   taskdata->td_flags.executing = 0;
 1311   taskdata->td_flags.complete = 0;
 1312   taskdata->td_flags.freed = 0;
 1314   taskdata->td_flags.native = flags->native;
 1316   KMP_ATOMIC_ST_RLX(&taskdata->td_incomplete_child_tasks, 0);
 1318   KMP_ATOMIC_ST_RLX(&taskdata->td_allocated_child_tasks, 1);
 1319   taskdata->td_taskgroup =
 1321   taskdata->td_dephash = NULL;
 1322   taskdata->td_depnode = NULL;
 1324     taskdata->td_last_tied = NULL; // will be set when the task is scheduled
 1326     taskdata->td_last_tied = taskdata;
 1326     taskdata->td_last_tied = taskdata;
 1327   taskdata->td_allow_completion_event.type = KMP_EVENT_UNINITIALIZED;
 1330     __ompt_task_init(taskdata, gtid);
 1336       !(taskdata->td_flags.team_serial || taskdata->td_flags.tasking_ser))
 1336       !(taskdata->td_flags.team_serial || taskdata->td_flags.tasking_ser))
 1343     if (taskdata->td_parent->td_flags.tasktype == TASK_EXPLICIT) {
 1344       KMP_ATOMIC_INC(&taskdata->td_parent->td_allocated_child_tasks);