Skip to content

Commit c93927e

Browse files
author
Sergey Oblomov
committed
OSHMEM/COLL/BCAST: removed unnecessary bcast call
- removed unnecessary bcast call on zero-length request Signed-off-by: Sergey Oblomov <sergeyo@mellanox.com>
1 parent ff2fd06 commit c93927e

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

oshmem/mca/scoll/basic/scoll_basic_broadcast.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -197,16 +197,6 @@ static int _algorithm_binomial_tree(struct oshmem_group_t *group,
197197
"[#%d] pSync[0] = %ld root = #%d",
198198
group->my_pe, pSync[0], PE_root);
199199

200-
if (OPAL_UNLIKELY(!nlong)) {
201-
SCOLL_VERBOSE(14, "[#%d] Wait for operation completion", group->my_pe);
202-
/* wait until root finishes sending data */
203-
rc = BARRIER_FUNC(group,
204-
(pSync + 1),
205-
SCOLL_DEFAULT_ALG);
206-
return rc;
207-
}
208-
209-
210200
vrank = (my_id + group->proc_count - root_id) % group->proc_count;
211201
hibit = opal_hibit(vrank, dim);
212202

0 commit comments

Comments
 (0)