Skip to content

Commit

Permalink
Added missing MPI_Comm_free() call before MPI_Finalize()
Browse files Browse the repository at this point in the history
  • Loading branch information
AddyLaddy committed Feb 5, 2024
1 parent 1292b25 commit c6afef0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common.cu
Original file line number Diff line number Diff line change
Expand Up @@ -1056,6 +1056,7 @@ testResult_t run() {
PRINT("# Avg bus bandwidth : %g %s\n", bw[0], check_avg_bw == -1 ? "" : (bw[0] < check_avg_bw*(0.9) ? "FAILED" : "OK"));
PRINT("#\n");
#ifdef MPI_SUPPORT
MPI_Comm_free(&mpi_comm);
MPI_Finalize();
#endif

Expand Down

0 comments on commit c6afef0

Please sign in to comment.