File tree Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Expand file tree Collapse file tree 1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 1010 * Copyright (c) 2004-2005 The Regents of the University of California.
1111 * All rights reserved.
1212 * Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
13+ * Copyright (c) 2016 Research Organization for Information Science
14+ * and Technology (RIST). All rights reserved.
1315 * $COPYRIGHT$
1416 *
1517 * Additional copyrights may follow
@@ -93,16 +95,17 @@ mca_coll_sync_comm_query(struct ompi_communicator_t *comm,
9395{
9496 mca_coll_sync_module_t * sync_module ;
9597
96- sync_module = OBJ_NEW (mca_coll_sync_module_t );
97- if (NULL == sync_module ) {
98- return NULL ;
99- }
100-
10198 /* If both MCA params are 0, then disqualify us */
10299 if (0 == mca_coll_sync_component .barrier_before_nops &&
103100 0 == mca_coll_sync_component .barrier_after_nops ) {
104101 return NULL ;
105102 }
103+
104+ sync_module = OBJ_NEW (mca_coll_sync_module_t );
105+ if (NULL == sync_module ) {
106+ return NULL ;
107+ }
108+
106109 * priority = mca_coll_sync_component .priority ;
107110
108111 /* Choose whether to use [intra|inter] */
You can’t perform that action at this time.
0 commit comments