Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
[simgrid.git] / src / smpi / colls / smpi_mvapich2_selector.c
index 97a876b..9e64ac3 100644 (file)
@@ -82,8 +82,6 @@ int smpi_coll_tuned_alltoall_mvapich2( void *sendbuf, int sendcount,
   return (mpi_errno);
 }
 
-
-
 int smpi_coll_tuned_allgather_mvapich2(void *sendbuf, int sendcount, MPI_Datatype sendtype,
     void *recvbuf, int recvcount, MPI_Datatype recvtype,
     MPI_Comm comm)
@@ -1006,8 +1004,7 @@ int smpi_coll_tuned_scatter_mvapich2(void *sendbuf,
   return (mpi_errno);
 }
 
-
-void smpi_coll_cleanup_mvapich2(){
+void smpi_coll_cleanup_mvapich2(void){
 int i=0;
 if(mv2_alltoall_thresholds_table)
   xbt_free(mv2_alltoall_thresholds_table[i]);
@@ -1016,13 +1013,12 @@ xbt_free(mv2_size_alltoall_tuning_table);
 xbt_free(mv2_alltoall_table_ppn_conf);
 
 xbt_free(mv2_gather_thresholds_table);
-  if(mv2_allgather_thresholds_table)
-xbt_free(mv2_allgather_thresholds_table[0]);
+if(mv2_allgather_thresholds_table)
+  xbt_free(mv2_allgather_thresholds_table[0]);
 xbt_free(mv2_size_allgather_tuning_table);
 xbt_free(mv2_allgather_table_ppn_conf);
 xbt_free(mv2_allgather_thresholds_table);
 
-
 xbt_free(mv2_allgatherv_thresholds_table);
 xbt_free(mv2_reduce_thresholds_table);
 xbt_free(mv2_red_scat_thresholds_table);
@@ -1034,4 +1030,3 @@ xbt_free(mv2_scatter_thresholds_table);
 xbt_free(mv2_size_scatter_tuning_table);
 xbt_free(mv2_scatter_table_ppn_conf);
 }
-