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.
Этот коммит содержится в:
родитель
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 %d rank %d com_size %d msg_length %lu",
|
||||||
root, rank, communicator_size, (unsigned long)message_size));
|
root, rank, communicator_size, (unsigned long)message_size));
|
||||||
|
|
||||||
/* Handle messages of small and intermediate size */
|
/* Handle messages of small and intermediate size, and
|
||||||
if (message_size < small_message_size) {
|
single-element broadcasts */
|
||||||
|
if ((message_size < small_message_size) || (count <= 1)) {
|
||||||
/* Binomial without segmentation */
|
/* Binomial without segmentation */
|
||||||
segsize = 0;
|
segsize = 0;
|
||||||
return ompi_coll_tuned_bcast_intra_binomial (buff, count, datatype,
|
return ompi_coll_tuned_bcast_intra_binomial (buff, count, datatype,
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user