Skip to content

Commit

Permalink
Revert formatting changes to non sliding window code
Browse files Browse the repository at this point in the history
  • Loading branch information
nsarka committed Jan 23, 2024
1 parent 0533cac commit 8f8fcd6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
8 changes: 5 additions & 3 deletions src/components/tl/ucp/tl_ucp.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ ucc_config_field_t ucc_tl_ucp_lib_config_table[] = {
ucc_offsetof(ucc_tl_ucp_lib_config_t, alltoallv_pairwise_num_posts),
UCC_CONFIG_TYPE_UINT},

/* TODO: add radix to config once it's fully supported by the algorithm
/* TODO: add radix to config once it's fully supported by the algorithm
{"ALLTOALLV_HYBRID_RADIX", "2",
"Radix of the Hybrid Alltoallv algorithm",
ucc_offsetof(ucc_tl_ucp_lib_config_t, alltoallv_hybrid_radix),
Expand Down Expand Up @@ -196,8 +196,10 @@ ucc_config_field_t ucc_tl_ucp_lib_config_table[] = {
ucc_offsetof(ucc_tl_ucp_lib_config_t, reduce_scatterv_ring_bidirectional),
UCC_CONFIG_TYPE_BOOL},

{"USE_TOPO", "try", "Allow usage of tl ucp topo",
ucc_offsetof(ucc_tl_ucp_lib_config_t, use_topo), UCC_CONFIG_TYPE_TERNARY},
{"USE_TOPO", "try",
"Allow usage of tl ucp topo",
ucc_offsetof(ucc_tl_ucp_lib_config_t, use_topo),
UCC_CONFIG_TYPE_TERNARY},

{"RANKS_REORDERING", "y",
"Use topology information in TL UCP to reorder ranks. Requires topo info",
Expand Down
4 changes: 2 additions & 2 deletions src/components/tl/ucp/tl_ucp_coll.h
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ static inline void ucc_tl_ucp_task_reset(ucc_tl_ucp_task_t *task,
static inline ucc_tl_ucp_task_t *ucc_tl_ucp_get_task(ucc_tl_ucp_team_t *team)
{
ucc_tl_ucp_context_t *ctx = UCC_TL_UCP_TEAM_CTX(team);
ucc_tl_ucp_task_t *task = (ucc_tl_ucp_task_t *)ucc_mpool_get(&ctx->req_mp);
ucc_tl_ucp_task_t *task = ucc_mpool_get(&ctx->req_mp);;

UCC_TL_UCP_PROFILE_REQUEST_NEW(task, "tl_ucp_task", 0);
task->super.flags = 0;
Expand All @@ -306,7 +306,7 @@ ucc_tl_ucp_get_schedule(ucc_tl_ucp_team_t *team,
{
ucc_tl_ucp_context_t *ctx = UCC_TL_UCP_TEAM_CTX(team);

*schedule = (ucc_tl_ucp_schedule_t *)ucc_mpool_get(&ctx->req_mp);
*schedule = ucc_mpool_get(&ctx->req_mp);

if (ucc_unlikely(!(*schedule))) {
return UCC_ERR_NO_MEMORY;
Expand Down

0 comments on commit 8f8fcd6

Please sign in to comment.