Skip to content

Commit

Permalink
TOPO: Fix socket ldr sbgp create if no libnuma
Browse files Browse the repository at this point in the history
  • Loading branch information
nsarkauskas committed Oct 3, 2024
1 parent 16586e1 commit aa51e63
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/topo/ucc_sbgp.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,10 @@ const char* ucc_sbgp_str(ucc_sbgp_type_t type)
return ucc_sbgp_type_str[type];
}

#define UCC_TOPO_IS_BOUND(_topo, _sbgp_type) \
(UCC_SBGP_SOCKET == (_sbgp_type)) ? \
(_topo)->topo->sock_bound : (_topo)->topo->numa_bound
#define UCC_TOPO_IS_BOUND(_topo, _sbgp_type) \
(UCC_SBGP_SOCKET == (_sbgp_type) || \
UCC_SBGP_SOCKET_LEADERS == (_sbgp_type)) ? \
(_topo)->topo->sock_bound : (_topo)->topo->numa_bound

static inline int ucc_ranks_on_local_sn(ucc_rank_t rank1, ucc_rank_t rank2,
ucc_topo_t *topo, ucc_sbgp_type_t type)
Expand Down

0 comments on commit aa51e63

Please sign in to comment.