Skip to content

Commit

Permalink
TEST: update mpi test mem map usage
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrol aderholdt committed Feb 17, 2024
1 parent e62b777 commit 3db29e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/gtest/common/test_ucc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ void proc_context_create(UccProcess_h proc, int id, ThreadAllgather *ta, bool is
void proc_context_create_mem_params(UccProcess_h proc, int id,
ThreadAllgather *ta)
{
ucc_mem_map_t map[UCC_TEST_N_MEM_SEGMENTS] = {0};
ucc_mem_map_t map[UCC_TEST_N_MEM_SEGMENTS] = {};
ucc_status_t status;
ucc_context_config_h ctx_config;
std::stringstream err_msg;
Expand Down
2 changes: 1 addition & 1 deletion test/mpi/test_mpi.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ static ucc_status_t oob_allgather_free(void *req)
UccTestMpi::UccTestMpi(int argc, char *argv[], ucc_thread_mode_t _tm,
int is_local, bool with_onesided)
{
ucc_mem_map_t segments[UCC_TEST_N_MEM_SEGMENTS] = {0};
ucc_lib_config_h lib_config;
ucc_context_config_h ctx_config;
int size, rank;
char *prev_env;
ucc_mem_map_t segments[UCC_TEST_N_MEM_SEGMENTS];

MPI_Comm_size(MPI_COMM_WORLD, &size);
MPI_Comm_rank(MPI_COMM_WORLD, &rank);
Expand Down

0 comments on commit 3db29e9

Please sign in to comment.