Skip to content

Commit

Permalink
Merge pull request #12496 from bosilca/topic/remove_sm_collective
Browse files Browse the repository at this point in the history
Remove the SM collective component
  • Loading branch information
bosilca committed Apr 30, 2024
2 parents 5cf97cd + 2f63e23 commit 49382c3
Show file tree
Hide file tree
Showing 26 changed files with 13 additions and 2,959 deletions.
26 changes: 13 additions & 13 deletions ompi/mca/coll/han/coll_han_component.c
Expand Up @@ -37,13 +37,13 @@ const char *mca_coll_han_component_version_string =
"Open MPI HAN collective MCA component version " OMPI_VERSION;

ompi_coll_han_components ompi_coll_han_available_components[COMPONENTS_COUNT] = {
{ SELF, "self", NULL },
{ BASIC, "basic", NULL },
{ LIBNBC, "libnbc", NULL },
{ TUNED, "tuned", NULL },
{ SM, "sm", NULL },
{ ADAPT, "adapt", NULL },
{ HAN, "han", NULL }
{ SELF, "self" },
{ BASIC, "basic" },
{ LIBNBC, "libnbc" },
{ TUNED, "tuned" },
{ SM, "sm" }, /* this should not be used, the collective component is gone */
{ ADAPT, "adapt" },
{ HAN, "han" }
};

/*
Expand Down Expand Up @@ -287,7 +287,7 @@ static int han_register(void)

cs->han_bcast_low_module = 0;
(void) mca_coll_han_query_module_from_mca(c, "bcast_low_module",
"low level module for bcast, 0 tuned, 1 sm",
"low level module for bcast, currently only 0 for tuned",
OPAL_INFO_LVL_9,
&cs->han_bcast_low_module,
&cs->han_op_module_name.bcast.han_op_low_module_name);
Expand All @@ -307,7 +307,7 @@ static int han_register(void)

cs->han_reduce_low_module = 0;
(void) mca_coll_han_query_module_from_mca(c, "reduce_low_module",
"low level module for allreduce, 0 tuned, 1 sm",
"low level module for allreduce, currently only 0 tuned",
OPAL_INFO_LVL_9, &cs->han_reduce_low_module,
&cs->han_op_module_name.reduce.han_op_low_module_name);

Expand All @@ -326,7 +326,7 @@ static int han_register(void)

cs->han_allreduce_low_module = 0;
(void) mca_coll_han_query_module_from_mca(c, "allreduce_low_module",
"low level module for allreduce, 0 tuned, 1 sm",
"low level module for allreduce, currently only 0 tuned",
OPAL_INFO_LVL_9, &cs->han_allreduce_low_module,
&cs->han_op_module_name.allreduce.han_op_low_module_name);

Expand All @@ -338,7 +338,7 @@ static int han_register(void)

cs->han_allgather_low_module = 0;
(void) mca_coll_han_query_module_from_mca(c, "allgather_low_module",
"low level module for allgather, 0 tuned, 1 sm",
"low level module for allgather, currently only 0 tuned",
OPAL_INFO_LVL_9, &cs->han_allgather_low_module,
&cs->han_op_module_name.allgather.han_op_low_module_name);

Expand All @@ -350,7 +350,7 @@ static int han_register(void)

cs->han_gather_low_module = 0;
(void) mca_coll_han_query_module_from_mca(c, "gather_low_module",
"low level module for gather, 0 tuned, 1 sm",
"low level module for gather, currently only 0 tuned",
OPAL_INFO_LVL_9, &cs->han_gather_low_module,
&cs->han_op_module_name.gather.han_op_low_module_name);

Expand All @@ -374,7 +374,7 @@ static int han_register(void)

cs->han_scatter_low_module = 0;
(void) mca_coll_han_query_module_from_mca(c, "scatter_low_module",
"low level module for scatter, 0 tuned, 1 sm",
"low level module for scatter, currently only 0 tuned",
OPAL_INFO_LVL_9, &cs->han_scatter_low_module,
&cs->han_op_module_name.scatter.han_op_low_module_name);

Expand Down
1 change: 0 additions & 1 deletion ompi/mca/coll/han/coll_han_dynamic.h
Expand Up @@ -111,7 +111,6 @@ typedef enum COMPONENTS {
typedef struct {
COMPONENT_T id;
char* component_name;
mca_coll_base_component_t* component;
} ompi_coll_han_components;

extern ompi_coll_han_components ompi_coll_han_available_components[COMPONENTS_COUNT];
Expand Down
70 changes: 0 additions & 70 deletions ompi/mca/coll/sm/Makefile.am

This file was deleted.

0 comments on commit 49382c3

Please sign in to comment.