Browse Source

fix compute bandwidth of MPI Master-Slave

Corentin Salingue 8 years ago
parent
commit
4c98627776
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/drivers/mpi/driver_mpi_common.c

+ 1 - 1
src/drivers/mpi/driver_mpi_common.c

@@ -502,7 +502,7 @@ void _starpu_mpi_common_measure_bandwidth_latency(double bandwidth_dtod[STARPU_M
                                         STARPU_ASSERT_MSG(ret == MPI_SUCCESS, "Bandwidth of MPI Master/Slave cannot be measured !");
                                 }
                                 end = starpu_timing_now();
-                                bandwidth_dtod[sender][receiver] = (NITER*1000000)/(end - start);
+                                bandwidth_dtod[sender][receiver] = (NITER*SIZE_BANDWIDTH)/(end - start);
 
                                 /* measure latency sender to receiver */
                                 start = starpu_timing_now();