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

References

projects/openmp/runtime/src/kmp_runtime.cpp
 1147   this_thr = __kmp_threads[global_tid];
 1148   serial_team = this_thr->th.th_serial_team;
 1163     this_thr->th.th_task_team = NULL;
 1166   kmp_proc_bind_t proc_bind = this_thr->th.th_set_proc_bind;
 1167   if (this_thr->th.th_current_task->td_icvs.proc_bind == proc_bind_false) {
 1172     proc_bind = this_thr->th.th_current_task->td_icvs.proc_bind;
 1175   this_thr->th.th_set_proc_bind = proc_bind_default;
 1182       this_thr->th.ompt_thread_info.state != ompt_state_overhead) {
 1185     parent_task_info = OMPT_CUR_TASK_INFO(this_thr);
 1199   if (this_thr->th.th_team != serial_team) {
 1201     int level = this_thr->th.th_team->t.t_level;
 1211           __kmp_allocate_team(this_thr->th.th_root, 1, 1,
 1215                               proc_bind, &this_thr->th.th_current_task->td_icvs,
 1221       new_team->t.t_threads[0] = this_thr;
 1222       new_team->t.t_parent = this_thr->th.th_team;
 1224       this_thr->th.th_serial_team = serial_team;
 1248     serial_team->t.t_parent = this_thr->th.th_team;
 1249     serial_team->t.t_sched.sched = this_thr->th.th_team->t.t_sched.sched;
 1250     this_thr->th.th_team = serial_team;
 1251     serial_team->t.t_master_tid = this_thr->th.th_info.ds.ds_tid;
 1255     KMP_ASSERT(this_thr->th.th_current_task->td_flags.executing == 1);
 1256     this_thr->th.th_current_task->td_flags.executing = 0;
 1258     __kmp_push_current_task_to_thread(this_thr, serial_team, 0);
 1263     copy_icvs(&this_thr->th.th_current_task->td_icvs,
 1264               &this_thr->th.th_current_task->td_parent->td_icvs);
 1269       this_thr->th.th_current_task->td_icvs.nproc =
 1275       this_thr->th.th_current_task->td_icvs.proc_bind =
 1282     this_thr->th.th_info.ds.ds_tid = 0;
 1285     this_thr->th.th_team_nproc = 1;
 1286     this_thr->th.th_team_master = this_thr;
 1286     this_thr->th.th_team_master = this_thr;
 1287     this_thr->th.th_team_serialized = 1;
 1291     serial_team->t.t_def_allocator = this_thr->th.th_def_allocator; // save
 1302     this_thr->th.th_dispatch = serial_team->t.t_dispatch;
 1313     this_thr->th.th_team_serialized = serial_team->t.t_serialized;
 1316     int level = this_thr->th.th_team->t.t_level;
 1320       this_thr->th.th_current_task->td_icvs.nproc =
 1337     this_thr->th.th_dispatch = serial_team->t.t_dispatch;
 1346     if (this_thr->th.th_prev_level != serial_team->t.t_level ||
 1347         this_thr->th.th_prev_num_threads != 1) {
 1350       this_thr->th.th_prev_level = serial_team->t.t_level;
 1351       this_thr->th.th_prev_num_threads = 1;
 1360       this_thr->th.ompt_thread_info.state != ompt_state_overhead) {
 1361     OMPT_CUR_TASK_INFO(this_thr)->frame.exit_frame.ptr = OMPT_GET_FRAME_ADDRESS(0);
 1364     __ompt_lw_taskteam_init(&lw_taskteam, this_thr, global_tid,
 1367     __ompt_lw_taskteam_link(&lw_taskteam, this_thr, 1);
 1371     implicit_task_data = OMPT_CUR_TASK_DATA(this_thr);
 1374           ompt_scope_begin, OMPT_CUR_TEAM_DATA(this_thr),
 1375           OMPT_CUR_TASK_DATA(this_thr), 1, __kmp_tid_from_gtid(global_tid), ompt_task_implicit); // TODO: Can this be ompt_task_initial?
 1376       OMPT_CUR_TASK_INFO(this_thr)
 1381     this_thr->th.ompt_thread_info.state = ompt_state_work_parallel;
 1382     OMPT_CUR_TASK_INFO(this_thr)->frame.exit_frame.ptr = OMPT_GET_FRAME_ADDRESS(0);