Modifying the default reduce decision function to use binomial algorithm
for single-element reduce (segmented algorithms make no sense in this case and can cause performance degradation). This commit was SVN r15209.
Этот коммит содержится в:
родитель
567b40b9a9
Коммит
0ecef1750d
@ -351,7 +351,8 @@ int ompi_coll_tuned_reduce_intra_dec_fixed( void *sendbuf, void *recvbuf,
|
||||
if ((communicator_size < 8) && (message_size < 512)){
|
||||
/* Linear_0K */
|
||||
return ompi_coll_tuned_reduce_intra_basic_linear (sendbuf, recvbuf, count, datatype, op, root, comm);
|
||||
} else if ((communicator_size < 8) && (message_size < 20480)) {
|
||||
} else if (((communicator_size < 8) && (message_size < 20480)) ||
|
||||
(count <= 1)){
|
||||
/* Binomial_0K */
|
||||
segsize = 0;
|
||||
return ompi_coll_tuned_reduce_intra_binomial(sendbuf, recvbuf, count, datatype, op, root, comm, segsize, max_requests);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user