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
Update copyright lines for 2022.
[simgrid.git]
/
src
/
smpi
/
colls
/
bcast
/
bcast-arrival-scatter.cpp
diff --git
a/src/smpi/colls/bcast/bcast-arrival-scatter.cpp
b/src/smpi/colls/bcast/bcast-arrival-scatter.cpp
index
3ecba94
..
78fb739
100644
(file)
--- a/
src/smpi/colls/bcast/bcast-arrival-scatter.cpp
+++ b/
src/smpi/colls/bcast/bcast-arrival-scatter.cpp
@@
-1,10
+1,10
@@
-/* Copyright (c) 2013-20
17
. The SimGrid Team.
+/* Copyright (c) 2013-20
22
. 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. */
* 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"
+#include "../colls_private.h
pp
"
#ifndef BCAST_ARRIVAL_PATTERN_AWARE_HEADER_SIZE
#define BCAST_ARRIVAL_PATTERN_AWARE_HEADER_SIZE 128
#ifndef BCAST_ARRIVAL_PATTERN_AWARE_HEADER_SIZE
#define BCAST_ARRIVAL_PATTERN_AWARE_HEADER_SIZE 128
@@
-16,12
+16,12
@@
namespace simgrid{
namespace smpi{
/* Non-topology-specific pipelined linear-bcast function */
namespace simgrid{
namespace smpi{
/* Non-topology-specific pipelined linear-bcast function */
-int
Coll_bcast_arrival_scatter::bcast
(void *buf, int count,
-
MPI_Datatype datatype, int root,
-
MPI_Comm comm)
+int
bcast__arrival_scatter
(void *buf, int count,
+ MPI_Datatype datatype, int root,
+ MPI_Comm comm)
{
int tag = -COLL_TAG_BCAST;//in order to use ANY_TAG, make this one positive
{
int tag = -COLL_TAG_BCAST;//in order to use ANY_TAG, make this one positive
- int header_tag = 10;
+ int header_tag =
-
10;
MPI_Status status;
int curr_remainder;
MPI_Status status;
int curr_remainder;
@@
-59,8
+59,8
@@
int Coll_bcast_arrival_scatter::bcast(void *buf, int count,
/* message too small */
if (count < size) {
/* message too small */
if (count < size) {
- XBT_
WARN("MPI_bcast_arrival_scatter
use default MPI_bcast.");
-
C
olls::bcast(buf, count, datatype, root, comm);
+ XBT_
INFO("MPI_bcast_arrival_scatter: count < size,
use default MPI_bcast.");
+
c
olls::bcast(buf, count, datatype, root, comm);
return MPI_SUCCESS;
}
return MPI_SUCCESS;
}