A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
leaks --
[simgrid.git]
/
src
/
smpi
/
colls
/
allgather-ompi-neighborexchange.c
diff --git
a/src/smpi/colls/allgather-ompi-neighborexchange.c
b/src/smpi/colls/allgather-ompi-neighborexchange.c
index
238163e
..
9a3ccd9
100644
(file)
--- a/
src/smpi/colls/allgather-ompi-neighborexchange.c
+++ b/
src/smpi/colls/allgather-ompi-neighborexchange.c
@@
-1,3
+1,9
@@
+/* Copyright (c) 2013-2014. 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. */
+
/*
* ompi_coll_tuned_allgather_intra_neighborexchange
*
/*
* ompi_coll_tuned_allgather_intra_neighborexchange
*
@@
-57,7
+63,6
@@
*/
#include "colls_private.h"
*/
#include "colls_private.h"
- #define MCA_COLL_BASE_TAG_ALLGATHER 555
int
smpi_coll_tuned_allgather_ompi_neighborexchange(void *sbuf, int scount,
MPI_Datatype sdtype,
int
smpi_coll_tuned_allgather_ompi_neighborexchange(void *sbuf, int scount,
MPI_Datatype sdtype,
@@
-134,9
+139,9
@@
smpi_coll_tuned_allgather_ompi_neighborexchange(void *sbuf, int scount,
tmpsend = (char*)rbuf + rank * rcount * rext;
/* Sendreceive */
smpi_mpi_sendrecv(tmpsend, rcount, rdtype, neighbor[0],
tmpsend = (char*)rbuf + rank * rcount * rext;
/* Sendreceive */
smpi_mpi_sendrecv(tmpsend, rcount, rdtype, neighbor[0],
-
MCA_COLL_BASE
_TAG_ALLGATHER,
+
COLL
_TAG_ALLGATHER,
tmprecv, rcount, rdtype, neighbor[0],
tmprecv, rcount, rdtype, neighbor[0],
-
MCA_COLL_BASE
_TAG_ALLGATHER,
+
COLL
_TAG_ALLGATHER,
comm, MPI_STATUS_IGNORE);
/* Determine initial sending location */
comm, MPI_STATUS_IGNORE);
/* Determine initial sending location */
@@
-157,10
+162,10
@@
smpi_coll_tuned_allgather_ompi_neighborexchange(void *sbuf, int scount,
/* Sendreceive */
smpi_mpi_sendrecv(tmpsend, 2 * rcount, rdtype,
neighbor[i_parity],
/* Sendreceive */
smpi_mpi_sendrecv(tmpsend, 2 * rcount, rdtype,
neighbor[i_parity],
-
MCA_COLL_BASE
_TAG_ALLGATHER,
+
COLL
_TAG_ALLGATHER,
tmprecv, 2 * rcount, rdtype,
neighbor[i_parity],
tmprecv, 2 * rcount, rdtype,
neighbor[i_parity],
-
MCA_COLL_BASE
_TAG_ALLGATHER,
+
COLL
_TAG_ALLGATHER,
comm, MPI_STATUS_IGNORE);
send_data_from = recv_data_from[i_parity];
comm, MPI_STATUS_IGNORE);
send_data_from = recv_data_from[i_parity];