Skip to content

Commit cff7c93

Browse files
committed
OSHMEM/MCA/SPML/UCX: fixed compilation issues
Signed-off-by: Roie Danino <[email protected]>
1 parent a26cbbf commit cff7c93

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

oshmem/mca/spml/ucx/spml_ucx.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1878,13 +1878,13 @@ int mca_spml_ucx_team_split_strided(shmem_team_t parent_team, int start, int
18781878
ucx_new_team->config = calloc(1, sizeof(mca_spml_ucx_team_config_t));
18791879

18801880
if (config != NULL) {
1881-
memcpy(&ucx_new_team->config.super, config, sizeof(shmem_team_config_t));
1881+
memcpy(&ucx_new_team->config->super, config, sizeof(shmem_team_config_t));
18821882
}
18831883

18841884
ucx_new_team->config = config;
1885-
ucx_new_team->parent = parent_team;
1885+
ucx_new_team->parent_team = parent_team;
18861886

1887-
*new_team = ucx_new_team
1887+
*new_team = ucx_new_team;
18881888

18891889
return OSHMEM_SUCCESS;
18901890
}

oshmem/mca/spml/ucx/spml_ucx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ typedef struct mca_spml_ucx_team {
136136
int stride;
137137
int start;
138138
mca_spml_ucx_team_config_t *config;
139-
mca_spml_ucx_team_t *parent_team;
139+
struct mca_spml_ucx_team *parent_team;
140140
} mca_spml_ucx_team_t;
141141

142142
struct mca_spml_ucx {

0 commit comments

Comments
 (0)