Skip to content

Commit

Permalink
TL/MLX5: a2a part 2 -- full coll
Browse files Browse the repository at this point in the history
  • Loading branch information
samnordmann committed Jun 29, 2023
1 parent 22dc12d commit cc68112
Show file tree
Hide file tree
Showing 9 changed files with 1,176 additions and 72 deletions.
12 changes: 7 additions & 5 deletions src/components/tl/mlx5/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@

if TL_MLX5_ENABLED

alltoall = \
alltoall/alltoall.h \
alltoall/alltoall.c \
alltoall/alltoall_mkeys.h \
alltoall/alltoall_mkeys.c
alltoall = \
alltoall/alltoall.h \
alltoall/alltoall.c \
alltoall/alltoall_mkeys.h \
alltoall/alltoall_mkeys.c \
alltoall/alltoall_inline.h \
alltoall/alltoall_coll.c

mcast = \
mcast/tl_mlx5_mcast_context.c \
Expand Down
5 changes: 3 additions & 2 deletions src/components/tl/mlx5/alltoall/alltoall.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ static ucc_status_t build_rank_map(ucc_tl_mlx5_alltoall_t *a2a,
return UCC_OK;
}

ucc_status_t ucc_tl_mlx5_alltoall_init_start(ucc_tl_mlx5_team_t *team)
ucc_status_t ucc_tl_mlx5_team_alltoall_init_start(ucc_tl_mlx5_team_t *team)
{
ucc_tl_mlx5_context_t *ctx = UCC_TL_MLX5_TEAM_CTX(team);
ucc_tl_mlx5_alltoall_t *a2a = NULL;
Expand Down Expand Up @@ -270,7 +270,8 @@ static ucc_status_t ucc_tl_mlx5_alltoall_barrier_alloc(ucc_tl_mlx5_team_t *team)
return UCC_OK;
}

ucc_status_t ucc_tl_mlx5_alltoall_init_progress(ucc_tl_mlx5_team_t *tl_team)
ucc_status_t
ucc_tl_mlx5_team_alltoall_init_progress(ucc_tl_mlx5_team_t *tl_team)
{
ucc_tl_mlx5_team_t *team = ucc_derived_of(tl_team,
ucc_tl_mlx5_team_t);
Expand Down
7 changes: 5 additions & 2 deletions src/components/tl/mlx5/alltoall/alltoall.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,11 @@ typedef struct ucc_tl_mlx5_alltoall {
ucc_tl_mlx5_a2a_bcast_data_t bcast_data;
} ucc_tl_mlx5_alltoall_t;

ucc_status_t ucc_tl_mlx5_alltoall_init_start(ucc_tl_mlx5_team_t *team);
ucc_status_t ucc_tl_mlx5_alltoall_init_progress(ucc_tl_mlx5_team_t *team);
ucc_status_t ucc_tl_mlx5_team_alltoall_init_start(ucc_tl_mlx5_team_t *team);
ucc_status_t ucc_tl_mlx5_team_alltoall_init_progress(ucc_tl_mlx5_team_t *team);
ucc_status_t ucc_tl_mlx5_alltoall_init(ucc_base_coll_args_t *coll_args,
ucc_base_team_t * team,
ucc_coll_task_t ** task_h);
void ucc_tl_mlx5_alltoall_cleanup(ucc_tl_mlx5_team_t *team);

static inline ucc_tl_mlx5_alltoall_ctrl_t*
Expand Down
Loading

0 comments on commit cc68112

Please sign in to comment.