1
1

Modifying the default broadcast decision function to use binomial algorithm

for single-element broadcasts (segmented algorithms make no sense in this case
and can cause performance degradation).

This commit was SVN r15208.
Этот коммит содержится в:
Jelena Pjesivac-Grbovic 2007-06-26 20:08:31 +00:00
родитель acae12d0bb
Коммит 567b40b9a9

Просмотреть файл

@ -225,8 +225,9 @@ int ompi_coll_tuned_bcast_intra_dec_fixed(void *buff, int count,
" root %d rank %d com_size %d msg_length %lu",
root, rank, communicator_size, (unsigned long)message_size));
/* Handle messages of small and intermediate size */
if (message_size < small_message_size) {
/* Handle messages of small and intermediate size, and
single-element broadcasts */
if ((message_size < small_message_size) || (count <= 1)) {
/* Binomial without segmentation */
segsize = 0;
return ompi_coll_tuned_bcast_intra_binomial (buff, count, datatype,