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 notices
[simgrid.git]
/
src
/
smpi
/
colls
/
allgatherv-mpich-ring.c
diff --git
a/src/smpi/colls/allgatherv-mpich-ring.c
b/src/smpi/colls/allgatherv-mpich-ring.c
index
aeacb3f
..
fc72645
100644
(file)
--- a/
src/smpi/colls/allgatherv-mpich-ring.c
+++ b/
src/smpi/colls/allgatherv-mpich-ring.c
@@
-1,12
+1,17
@@
-#include "colls_private.h"
+/* 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. */
-/* -*- Mode: C; c-basic-offset:4 ; -*- */
/*
*
* (C) 2001 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
/*
*
* (C) 2001 by Argonne National Laboratory.
* See COPYRIGHT in top-level directory.
*/
+#include "colls_private.h"
+
/*****************************************************************************
* Function: allgather_mpich_ring
* return: int
/*****************************************************************************
* Function: allgather_mpich_ring
* return: int
@@
-59,8
+64,8
@@
smpi_coll_tuned_allgatherv_mpich_ring(void *sendbuf, int sendcount,
for (i = 1; i < comm_size; i++)
if (min > recvcounts[i])
min = recvcounts[i];
for (i = 1; i < comm_size; i++)
if (min > recvcounts[i])
min = recvcounts[i];
- if (min * recvtype_extent < 32768)
- min = 32768 / recvtype_extent;
+ if (min * recvtype_extent < 32768
*8
)
+ min = 32768
*8
/ recvtype_extent;
/* Handle the case where the datatype extent is larger than
* the pipeline size. */
if (!min)
/* Handle the case where the datatype extent is larger than
* the pipeline size. */
if (!min)