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
avoid warning by checking index in the right order
[simgrid.git]
/
src
/
smpi
/
colls
/
bcast-flattree.c
diff --git
a/src/smpi/colls/bcast-flattree.c
b/src/smpi/colls/bcast-flattree.c
index
626c203
..
5d4708d
100644
(file)
--- a/
src/smpi/colls/bcast-flattree.c
+++ b/
src/smpi/colls/bcast-flattree.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. */
+
#include "colls_private.h"
int
#include "colls_private.h"
int
@@
-8,7
+14,7
@@
smpi_coll_tuned_bcast_flattree(void *buff, int count, MPI_Datatype data_type,
MPI_Request *reqs;
int i, rank, num_procs;
MPI_Request *reqs;
int i, rank, num_procs;
- int tag =
1
;
+ int tag =
COLL_TAG_BCAST
;
rank = smpi_comm_rank(comm);
num_procs = smpi_comm_size(comm);
rank = smpi_comm_rank(comm);
num_procs = smpi_comm_size(comm);