Skip to content

Commit bbc14fd

Browse files
committed
REVIEW: fix clang-tidy
1 parent ff393c7 commit bbc14fd

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/components/tl/ucp/alltoall/alltoall_onesided.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ void ucc_tl_ucp_alltoall_onesided_progress(ucc_coll_task_t *ctask)
7373
ucc_rank_t grank = UCC_TL_TEAM_RANK(team);
7474
ucc_rank_t gsize = UCC_TL_TEAM_SIZE(team);
7575
long *pSync = TASK_ARGS(task).global_work_buffer;
76-
ucc_mem_map_mem_h src_memh = TASK_ARGS(task).src_memh.local_memh;
77-
ucc_mem_map_mem_h *dst_memh = TASK_ARGS(task).dst_memh.global_memh;
76+
ucc_mem_map_mem_h src_memh;
77+
ucc_mem_map_mem_h *dst_memh;
7878
ucc_rank_t peer;
7979
ucc_status_t status;
8080

src/components/tl/ucp/alltoallv/alltoallv_onesided.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ void ucc_tl_ucp_alltoallv_onesided_progress(ucc_coll_task_t *ctask)
9191
ucc_aint_t *d_disp = TASK_ARGS(task).dst.info_v.displacements;
9292
size_t sdt_size = ucc_dt_size(TASK_ARGS(task).src.info_v.datatype);
9393
size_t rdt_size = ucc_dt_size(TASK_ARGS(task).dst.info_v.datatype);
94-
ucc_mem_map_mem_h src_memh = TASK_ARGS(task).src_memh.local_memh;
95-
ucc_mem_map_mem_h *dst_memh = TASK_ARGS(task).dst_memh.global_memh;
94+
ucc_mem_map_mem_h src_memh;
95+
ucc_mem_map_mem_h *dst_memh;
9696
ucc_rank_t peer;
9797
ucc_status_t status;
9898
size_t sd_disp, dd_disp, data_size;

0 commit comments

Comments
 (0)