Skip to content

Commit

Permalink
#955: tests: untabify
Browse files Browse the repository at this point in the history
  • Loading branch information
lifflander committed Sep 17, 2020
1 parent 650224e commit ab53eeb
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tests/unit/collectives/test_mpi_collective.cc
Original file line number Diff line number Diff line change
Expand Up @@ -194,20 +194,20 @@ TEST_F(TestMPICollective, test_mpi_collective_4) {

auto op2 = [&]{
scope2.mpiCollectiveAsync([&done,&reduce_val_out]{
auto comm = theContext()->getComm();
int val_in = 1;
vt_print(barrier, "run MPI_Allreduce\n");
MPI_Allreduce(&val_in, &reduce_val_out, 1, MPI_INT, MPI_SUM, comm);
run_order[done++] = 2;
auto comm = theContext()->getComm();
int val_in = 1;
vt_print(barrier, "run MPI_Allreduce\n");
MPI_Allreduce(&val_in, &reduce_val_out, 1, MPI_INT, MPI_SUM, comm);
run_order[done++] = 2;
});
};

auto op3 = [&]{
scope3.mpiCollectiveAsync([&done]{
auto comm = theContext()->getComm();
vt_print(barrier, "run MPI_barrier\n");
MPI_Barrier(comm);
run_order[done++] = 3;
auto comm = theContext()->getComm();
vt_print(barrier, "run MPI_barrier\n");
MPI_Barrier(comm);
run_order[done++] = 3;
});
};

Expand Down

0 comments on commit ab53eeb

Please sign in to comment.