Skip to content

Commit

Permalink
TL/SHARP: enable bcast for any predefined dt (#774)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergei-Lebedev authored May 12, 2023
1 parent 0ff77a5 commit 6644eab
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/components/tl/sharp/tl_sharp_coll.c
Original file line number Diff line number Diff line change
Expand Up @@ -327,13 +327,8 @@ ucc_status_t ucc_tl_sharp_bcast_init(ucc_tl_sharp_task_t *task)
{
ucc_coll_args_t *args = &TASK_ARGS(task);

if (!ucc_coll_args_is_predefined_dt(args, UCC_RANK_INVALID)) {
return UCC_ERR_NOT_SUPPORTED;
}

if (ucc_to_sharp_memtype[args->src.info.mem_type] == SHARP_MEM_TYPE_LAST ||
ucc_to_sharp_dtype[UCC_DT_PREDEFINED_ID(args->src.info.datatype)] ==
SHARP_DTYPE_NULL) {
if ((ucc_to_sharp_memtype[args->src.info.mem_type] == SHARP_MEM_TYPE_LAST) ||
!ucc_coll_args_is_predefined_dt(args, UCC_RANK_INVALID)) {
return UCC_ERR_NOT_SUPPORTED;
}

Expand Down

0 comments on commit 6644eab

Please sign in to comment.