X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ea36b2b910912e1dde261d40a7b811a207ddeae1..ae701792ae00d4b822b890780619878e0a624980:/src/smpi/colls/colls.h diff --git a/src/smpi/colls/colls.h b/src/smpi/colls/colls.h index ff58270d59..816a0659d1 100644 --- a/src/smpi/colls/colls.h +++ b/src/smpi/colls/colls.h @@ -1,5 +1,4 @@ -/* Copyright (c) 2013-2014. The SimGrid Team. - * All rights reserved. */ +/* Copyright (c) 2013-2017. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -9,14 +8,16 @@ #include #include "smpi/mpi.h" -#include "smpi/private.h" +#include "src/smpi/private.h" #include "xbt/ex.h" #include "xbt.h" +SG_BEGIN_DECL() + #define COLL_DESCRIPTION(cat, ret, args, name) \ {# name,\ # cat " " # name " collective",\ - smpi_coll_tuned_ ## cat ## _ ## name} + (void*)smpi_coll_tuned_ ## cat ## _ ## name} #define COLL_PROTO(cat, ret, args, name) \ ret smpi_coll_tuned_ ## cat ## _ ## name(COLL_UNPAREN args); @@ -152,6 +153,7 @@ COLL_ALLREDUCES(COLL_PROTO, COLL_NOsep) #define COLL_ALLTOALLS(action, COLL_sep) \ COLL_APPLY(action, COLL_ALLTOALL_SIG, 2dmesh) COLL_sep \ COLL_APPLY(action, COLL_ALLTOALL_SIG, 3dmesh) COLL_sep \ +COLL_APPLY(action, COLL_ALLTOALL_SIG, basic_linear) COLL_sep \ COLL_APPLY(action, COLL_ALLTOALL_SIG, bruck) COLL_sep \ COLL_APPLY(action, COLL_ALLTOALL_SIG, pair) COLL_sep \ COLL_APPLY(action, COLL_ALLTOALL_SIG, pair_rma) COLL_sep \ @@ -332,5 +334,6 @@ COLL_APPLY(action, COLL_BARRIER_SIG, automatic) COLL_BARRIERS(COLL_PROTO, COLL_NOsep) +SG_END_DECL() #endif