Skip to content

Commit 26401af

Browse files
committed
OSHMEM/MCA/SPML/UCX: removed unnecessary team_type enum and attribute as its unnecessary
1 parent 78ac92a commit 26401af

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

oshmem/mca/spml/ucx/spml_ucx.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1870,7 +1870,6 @@ int mca_spml_ucx_team_split_strided(shmem_team_t parent_team, int start, int
18701870
ucx_new_team = (mca_spml_ucx_team_t *)malloc(sizeof(mca_spml_ucx_team_t));
18711871
ucx_new_team->n_pes = size;
18721872
ucx_new_team->my_pe = my_pe;
1873-
ucx_new_team->team_type = MCA_SPML_UCX_TEAM_TYPE_STRIDED;
18741873

18751874
/* In order to simplify pe translations start and stride are calculated with respect to
18761875
* world_team */

oshmem/mca/spml/ucx/spml_ucx.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,16 +129,8 @@ typedef struct mca_spml_ucx_team_config {
129129

130130
} mca_spml_ucx_team_config_t;
131131

132-
typedef enum {
133-
MCA_SPML_UCX_TEAM_TYPE_STRIDED,
134-
MCA_SPML_UCX_TEAM_TYPE_2D_X,
135-
MCA_SPML_UCX_TEAM_TYPE_2D_Y,
136-
MCA_SPML_UCX_TEAM_TYPE_LAST = MCA_SPML_UCX_TEAM_TYPE_2D_Y
137-
} mca_spml_ucx_team_type_t;
138-
139132
typedef struct mca_spml_ucx_team {
140133
shmem_team_t super;
141-
mca_spml_ucx_team_type_t team_type;
142134
int n_pes;
143135
int my_pe;
144136
int stride;

0 commit comments

Comments
 (0)