Skip to content

Commit

Permalink
Merge pull request #90 from shintaro-iwasaki/1.0/FixAffinityIssue
Browse files Browse the repository at this point in the history
[1.x] fix an affinity bug
  • Loading branch information
shintaro-iwasaki authored Dec 7, 2020
2 parents be724e2 + c9c886e commit 6cd1482
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions runtime/src/z_Linux_util.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1148,7 +1148,6 @@ void __kmp_abt_create_workers(kmp_team_t *team) {

// Set up proc bind.
kmp_proc_bind_t proc_bind = proc_bind_false;
#if OMP_40_ENABLED
// Set up the affinity of the master thread.
kmp_proc_bind_t team_proc_bind = team->t.t_proc_bind;
if (team_proc_bind == proc_bind_default) {
Expand All @@ -1159,7 +1158,6 @@ void __kmp_abt_create_workers(kmp_team_t *team) {
} else if (team_proc_bind != proc_bind_intel) {
proc_bind = team_proc_bind;
}
#endif
team->t.t_proc_bind_applied = proc_bind;

// Obtain master place id.
Expand Down

0 comments on commit 6cd1482

Please sign in to comment.