Skip to content

Commit

Permalink
TL/CUDA: initialize remote cuda scratch to NULL (openucx#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
bureddy authored Jan 30, 2024
1 parent c9f1286 commit 53a808e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/tl/cuda/tl_cuda_team.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,11 @@ ucc_status_t ucc_tl_cuda_team_create_test(ucc_base_team_t *tl_team)
}
team->oob.req_free(team->oob_req);
team->oob_req = (void*)0x1;

for (i = 0; i < UCC_TL_TEAM_SIZE(team); i++) {
team->scratch.rem[i] = NULL;
}

status = ucc_tl_cuda_team_topo_create(&team->super, &team->topo);
if (status != UCC_OK) {
goto exit_err;
Expand Down

0 comments on commit 53a808e

Please sign in to comment.