Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions ompi/mca/coll/acoll/coll_acoll_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@ mca_coll_base_module_t *mca_coll_acoll_comm_query(struct ompi_communicator_t *co
{
mca_coll_acoll_module_t *acoll_module;

acoll_module = OBJ_NEW(mca_coll_acoll_module_t);
if (NULL == acoll_module) {
return NULL;
}

if (OMPI_COMM_IS_INTER(comm)) {
*priority = 0;
return NULL;
Expand All @@ -74,6 +69,11 @@ mca_coll_base_module_t *mca_coll_acoll_comm_query(struct ompi_communicator_t *co
return NULL;
}

acoll_module = OBJ_NEW(mca_coll_acoll_module_t);
if (NULL == acoll_module) {
return NULL;
}

*priority = mca_coll_acoll_priority;

/* Set topology params */
Expand Down