Skip to content

Commit

Permalink
Merge pull request #2 from janjust/sync_fix
Browse files Browse the repository at this point in the history
Call fence on all threads during 1 win per thread test
  • Loading branch information
hjelmn authored Nov 11, 2020
2 parents 8fbac77 + b4f9b74 commit d09c4d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rmamt_bw.c
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ int main(int argc,char *argv[])
args[i].min_size = min_size;
args[i].win = rmamt_win_per_thread ? win[i] : win[0];
args[i].group = group;
args[i].all_sync = (RMAMT_ALL_FLUSH == rmamt_sync);
args[i].all_sync = (RMAMT_ALL_FLUSH == rmamt_sync) || (RMAMT_FENCE == rmamt_sync);
args[i].target = !(rank & 1);
args[i].comm = leader_comm;

Expand Down

0 comments on commit d09c4d0

Please sign in to comment.