Lines Matching defs:proc_bind

1203   kmp_proc_bind_t proc_bind = this_thr->th.th_set_proc_bind;
1204 if (this_thr->th.th_current_task->td_icvs.proc_bind == proc_bind_false) {
1205 proc_bind = proc_bind_false;
1206 } else if (proc_bind == proc_bind_default) {
1207 // No proc_bind clause was specified, so use the current value
1209 proc_bind = this_thr->th.th_current_task->td_icvs.proc_bind;
1254 proc_bind, &this_thr->th.th_current_task->td_icvs,
1322 this_thr->th.th_current_task->td_icvs.proc_bind =
1620 // Figure out the proc_bind policy for the nested parallel within teams
1621 kmp_proc_bind_t proc_bind = master_th->th.th_set_proc_bind;
1624 if (master_th->th.th_current_task->td_icvs.proc_bind == proc_bind_false) {
1625 proc_bind = proc_bind_false;
1627 // No proc_bind clause specified; use current proc-bind-var
1628 if (proc_bind == proc_bind_default) {
1629 proc_bind = master_th->th.th_current_task->td_icvs.proc_bind;
1631 /* else: The proc_bind policy was specified explicitly on parallel clause.
1637 master_th->th.th_current_task->td_icvs.proc_bind)) {
1641 KMP_CHECK_UPDATE(parent_team->t.t_proc_bind, proc_bind);
1644 master_th->th.th_current_task->td_icvs.proc_bind != proc_bind_icv) {
1647 other_threads[i]->th.th_current_task->td_icvs.proc_bind = proc_bind_icv;
2143 kmp_proc_bind_t proc_bind = master_th->th.th_set_proc_bind;
2146 if (master_th->th.th_current_task->td_icvs.proc_bind == proc_bind_false) {
2147 proc_bind = proc_bind_false;
2149 // No proc_bind clause specified; use current proc-bind-var for this
2151 if (proc_bind == proc_bind_default) {
2152 proc_bind = master_th->th.th_current_task->td_icvs.proc_bind;
2154 // Have teams construct take proc_bind value from KMP_TEAMS_PROC_BIND
2157 proc_bind = __kmp_teams_proc_bind;
2159 /* else: The proc_bind policy was specified explicitly on parallel clause.
2165 master_th->th.th_current_task->td_icvs.proc_bind)) {
2185 new_icvs.proc_bind = proc_bind_icv;
2194 proc_bind, &new_icvs,
2205 proc_bind,
4824 kmp_proc_bind_t proc_bind = team->t.t_proc_bind;
4832 KA_TRACE(20, ("__kmp_partition_places: enter: proc_bind = %d T#%d(%d:0) "
4834 proc_bind, __kmp_gtid_from_thread(team->t.t_threads[0]),
4837 switch (proc_bind) {
4840 // Serial teams might have the proc_bind policy set to proc_bind_default.
4841 // Not an issue -- we don't rebind primary thread for any proc_bind policy.
5250 "proc_bind = %d, partition = [%d,%d]\n",
8051 // Set the proc_bind var to use in the following parallel region.
8052 void __kmp_push_proc_bind(ident_t *id, int gtid, kmp_proc_bind_t proc_bind) {
8054 thr->th.th_set_proc_bind = proc_bind;