We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c5e02ab + ae0db67 commit c0f4876Copy full SHA for c0f4876
ompi/mca/coll/acoll/coll_acoll_module.c
@@ -60,11 +60,6 @@ mca_coll_base_module_t *mca_coll_acoll_comm_query(struct ompi_communicator_t *co
60
{
61
mca_coll_acoll_module_t *acoll_module;
62
63
- acoll_module = OBJ_NEW(mca_coll_acoll_module_t);
64
- if (NULL == acoll_module) {
65
- return NULL;
66
- }
67
-
68
if (OMPI_COMM_IS_INTER(comm)) {
69
*priority = 0;
70
return NULL;
@@ -74,6 +69,11 @@ mca_coll_base_module_t *mca_coll_acoll_comm_query(struct ompi_communicator_t *co
74
75
}
76
71
72
+ acoll_module = OBJ_NEW(mca_coll_acoll_module_t);
73
+ if (NULL == acoll_module) {
+ return NULL;
+ }
+
77
*priority = mca_coll_acoll_priority;
78
79
/* Set topology params */
0 commit comments