Skip to content

Commit

Permalink
Update src/components/tl/ucp/tl_ucp_team.c
Browse files Browse the repository at this point in the history
Co-authored-by: samnordmann <snordmann@nvidia.com>
  • Loading branch information
Sergei-Lebedev and samnordmann authored Mar 6, 2024
1 parent a8ae718 commit 2f3db2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tl/ucp/tl_ucp_team.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ UCC_CLASS_INIT_FUNC(ucc_tl_ucp_team_t, ucc_base_context_t *tl_context,
}

if (self->topo && !IS_SERVICE_TEAM(self) && self->topo->topo->sock_bound) {
max_radix = ucc_min(UCC_TL_TEAM_SIZE(self),
max_radix = ucc_topo_max_ppn(self->topo) == 1 ? UCC_TL_TEAM_SIZE(self) : ucc_min(UCC_TL_TEAM_SIZE(self),ucc_topo_min_socket_size(self->topo));
ucc_topo_max_ppn(self->topo) == 1 ?
UCC_TL_TEAM_SIZE(self):
ucc_topo_min_socket_size(self->topo));
Expand Down

0 comments on commit 2f3db2e

Please sign in to comment.