Changeset View
Changeset View
Standalone View
Standalone View
openmp/trunk/runtime/src/kmp_runtime.cpp
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
Show First 20 Lines • Show All 4,076 Lines • ▼ Show 20 Lines | #endif | ||||
// TODO: Initialize ICVs from parent; GEH - isn't that already done in | // TODO: Initialize ICVs from parent; GEH - isn't that already done in | ||||
// __kmp_initialize_team()? | // __kmp_initialize_team()? | ||||
/* TODO no worksharing in speculative threads */ | /* TODO no worksharing in speculative threads */ | ||||
this_thr->th.th_dispatch = &team->t.t_dispatch[tid]; | this_thr->th.th_dispatch = &team->t.t_dispatch[tid]; | ||||
this_thr->th.th_local.this_construct = 0; | this_thr->th.th_local.this_construct = 0; | ||||
#ifdef BUILD_TV | |||||
this_thr->th.th_local.tv_data = 0; | |||||
#endif | |||||
if (!this_thr->th.th_pri_common) { | if (!this_thr->th.th_pri_common) { | ||||
this_thr->th.th_pri_common = | this_thr->th.th_pri_common = | ||||
(struct common_table *)__kmp_allocate(sizeof(struct common_table)); | (struct common_table *)__kmp_allocate(sizeof(struct common_table)); | ||||
if (__kmp_storage_map) { | if (__kmp_storage_map) { | ||||
__kmp_print_storage_map_gtid( | __kmp_print_storage_map_gtid( | ||||
gtid, this_thr->th.th_pri_common, this_thr->th.th_pri_common + 1, | gtid, this_thr->th.th_pri_common, this_thr->th.th_pri_common + 1, | ||||
sizeof(struct common_table), "th_%d.th_pri_common\n", gtid); | sizeof(struct common_table), "th_%d.th_pri_common\n", gtid); | ||||
}; // if | }; // if | ||||
▲ Show 20 Lines • Show All 3,634 Lines • Show Last 20 Lines |