Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Oops, we need to store a pointer to the simix process in the smpi process now.
[simgrid.git] / src / smpi / colls / bcast / bcast-ompi-split-bintree.cpp
index 332d6cd..861a86d 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014. The SimGrid Team.
+/* Copyright (c) 2013-2017. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
   #include "../colls_private.h"
   #include "../coll_tuned_topo.h"
   #define MAXTREEFANOUT 32
+namespace simgrid{
+namespace smpi{
  
 int
-smpi_coll_tuned_bcast_ompi_split_bintree ( void* buffer,
+Coll_bcast_ompi_split_bintree::bcast ( void* buffer,
                                             int count, 
                                             MPI_Datatype datatype, 
                                             int root,
@@ -134,7 +136,7 @@ smpi_coll_tuned_bcast_ompi_split_bintree ( void* buffer,
         (segsize > counts[0] * type_size) ||
         (segsize > counts[1] * type_size) ) {
         /* call linear version here ! */
-        return (smpi_coll_tuned_bcast_SMP_linear ( buffer, count, datatype, 
+        return (Coll_bcast_SMP_linear::bcast ( buffer, count, datatype, 
                                                     root, comm));
     }
     type_extent = datatype->get_extent();
@@ -300,3 +302,6 @@ smpi_coll_tuned_bcast_ompi_split_bintree ( void* buffer,
 
 }
 
+}
+}
+