Skip to content

Commit

Permalink
Merge pull request #3 from codes-org/misc-fixes
Browse files Browse the repository at this point in the history
Misc fixes
  • Loading branch information
nmcglohon authored Jul 12, 2022
2 parents 04c4c62 + d300b54 commit f69fdec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion swm/src/lammps/lammps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@ LAMMPS_SWM::doFFT()
//SWM_Send(k_s_targets[idx][i], SWM_COMM_WORLD, 0, req_vc, resp_vc, NO_BUFFER, k_s_sizes[idx][i]);
SWM_Isend(k_s_targets[idx][i], SWM_COMM_WORLD, 0, req_vc, resp_vc, NO_BUFFER, k_s_sizes[idx][i], 0, &h2[i]);
}
SWM_Waitall(k_len[idx], h2);
SWM_Waitall(k_len[idx], h);
SWM_Waitall(k_len[idx], h2);

delete h;
delete h2;
Expand Down
2 changes: 1 addition & 1 deletion swm/src/layered_allbroadcast/layered_allbroadcast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void LayeredAllBroadcast::call()
if (process_id == 0) print_log("LayeredAllBcast Layer %d Weights\n",i);
execute_weights_comm(i);
}
SWM_Allreduce(32, 0, SWM_COMM_WORLD, -1, -1, NO_BUFFER, NO_BUFFER);
// SWM_Allreduce(32, 0, SWM_COMM_WORLD, -1, -1, NO_BUFFER, NO_BUFFER);
// SWM_Barrier(SWM_COMM_WORLD, -1, -1, NO_BUFFER, 0, 0, 0, 0);
if (process_id == 0) print_log("LayeredAllBcast Iteration %d/%d Completed\n",iter+1,iteration_cnt);

Expand Down

0 comments on commit f69fdec

Please sign in to comment.