Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines for 2022.
[simgrid.git] / src / smpi / colls / allreduce / allreduce-redbcast.cpp
index 1f5863c..9d1e5f1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2019. The SimGrid Team.
+/* Copyright (c) 2013-2022. The SimGrid Team.
  * All rights reserved.                                                     */
 
 /* This program is free software; you can redistribute it and/or modify it
@@ -7,12 +7,12 @@
 #include "../colls_private.hpp"
 namespace simgrid{
 namespace smpi{
-int Coll_allreduce_redbcast::allreduce(const void *buf, void *buf2, int count,
-                                       MPI_Datatype datatype, MPI_Op op,
-                                       MPI_Comm comm)
+int allreduce__redbcast(const void *buf, void *buf2, int count,
+                        MPI_Datatype datatype, MPI_Op op,
+                        MPI_Comm comm)
 {
-  Colls::reduce(buf, buf2, count, datatype, op, 0, comm);
-  Colls::bcast(buf2, count, datatype, 0, comm);
+  colls::reduce(buf, buf2, count, datatype, op, 0, comm);
+  colls::bcast(buf2, count, datatype, 0, comm);
   return MPI_SUCCESS;
 }
 }