@@ -75,7 +75,7 @@ static void osc_pt2pt_accumulate_data_destructor (osc_pt2pt_accumulate_data_t *a
7575 }
7676
7777 if (acc_data -> datatype ) {
78- OBJ_RELEASE (acc_data -> datatype );
78+ OMPI_DATATYPE_RELEASE (acc_data -> datatype );
7979 }
8080}
8181
@@ -119,7 +119,7 @@ static void osc_pt2pt_pending_acc_destructor (osc_pt2pt_pending_acc_t *pending)
119119 }
120120
121121 if (NULL != pending -> datatype ) {
122- OBJ_RELEASE (pending -> datatype );
122+ OMPI_DATATYPE_RELEASE (pending -> datatype );
123123 }
124124}
125125
@@ -371,7 +371,7 @@ static inline int process_put(ompi_osc_pt2pt_module_t* module, int source,
371371
372372 osc_pt2pt_copy_on_recv (target , data , data_len , proc , put_header -> count , datatype );
373373
374- OBJ_RELEASE (datatype );
374+ OMPI_DATATYPE_RELEASE (datatype );
375375
376376 return put_header -> len ;
377377}
@@ -408,7 +408,7 @@ static inline int process_put_long(ompi_osc_pt2pt_module_t* module, int source,
408408 return OMPI_ERROR ;
409409 }
410410
411- OBJ_RELEASE (datatype );
411+ OMPI_DATATYPE_RELEASE (datatype );
412412
413413 return put_header -> len ;
414414}
@@ -533,7 +533,7 @@ static inline int process_get (ompi_osc_pt2pt_module_t* module, int target,
533533 ret = osc_pt2pt_get_post_send (module , source , get_header -> count , datatype ,
534534 target , tag_to_origin (get_header -> tag ));
535535
536- OBJ_RELEASE (datatype );
536+ OMPI_DATATYPE_RELEASE (datatype );
537537
538538 return OMPI_SUCCESS == ret ? (int ) get_header -> len : ret ;
539539}
@@ -635,7 +635,7 @@ static int osc_pt2pt_accumulate_allocate (ompi_osc_pt2pt_module_t *module, int p
635635 acc_data -> proc = proc ;
636636 acc_data -> count = count ;
637637 acc_data -> datatype = datatype ;
638- OBJ_RETAIN (datatype );
638+ OMPI_DATATYPE_RETAIN (datatype );
639639 acc_data -> op = op ;
640640 acc_data -> request_count = request_count ;
641641
@@ -734,7 +734,7 @@ static int ompi_osc_pt2pt_acc_op_queue (ompi_osc_pt2pt_module_t *module, ompi_os
734734
735735 /* save the datatype */
736736 pending_acc -> datatype = datatype ;
737- OBJ_RETAIN (datatype );
737+ OMPI_DATATYPE_RETAIN (datatype );
738738
739739 /* save the header */
740740 switch (header -> base .type ) {
@@ -1175,7 +1175,7 @@ static inline int process_acc (ompi_osc_pt2pt_module_t *module, int source,
11751175 }
11761176
11771177 /* Release datatype & op */
1178- OBJ_RELEASE (datatype );
1178+ OMPI_DATATYPE_RELEASE (datatype );
11791179
11801180 return (OMPI_SUCCESS == ret ) ? (int ) acc_header -> len : ret ;
11811181}
@@ -1207,7 +1207,7 @@ static inline int process_acc_long (ompi_osc_pt2pt_module_t* module, int source,
12071207 }
12081208
12091209 /* Release datatype & op */
1210- OBJ_RELEASE (datatype );
1210+ OMPI_DATATYPE_RELEASE (datatype );
12111211
12121212 return (OMPI_SUCCESS == ret ) ? (int ) acc_header -> len : ret ;
12131213}
@@ -1242,7 +1242,7 @@ static inline int process_get_acc(ompi_osc_pt2pt_module_t *module, int source,
12421242 uint32_t primitive_count ;
12431243 buffer = malloc (data_len );
12441244 if (OPAL_UNLIKELY (NULL == buffer )) {
1245- OBJ_RELEASE (datatype );
1245+ OMPI_DATATYPE_RELEASE (datatype );
12461246 return OMPI_ERR_OUT_OF_RESOURCE ;
12471247 }
12481248
@@ -1261,7 +1261,7 @@ static inline int process_get_acc(ompi_osc_pt2pt_module_t *module, int source,
12611261 }
12621262
12631263 /* Release datatype & op */
1264- OBJ_RELEASE (datatype );
1264+ OMPI_DATATYPE_RELEASE (datatype );
12651265
12661266 return (OMPI_SUCCESS == ret ) ? (int ) acc_header -> len : ret ;
12671267}
@@ -1293,7 +1293,7 @@ static inline int process_get_acc_long(ompi_osc_pt2pt_module_t *module, int sour
12931293 }
12941294
12951295 /* Release datatype & op */
1296- OBJ_RELEASE (datatype );
1296+ OMPI_DATATYPE_RELEASE (datatype );
12971297
12981298 return OMPI_SUCCESS == ret ? (int ) acc_header -> len : ret ;
12991299}
@@ -1326,7 +1326,7 @@ static inline int process_cswap (ompi_osc_pt2pt_module_t *module, int source,
13261326 }
13271327
13281328 /* Release datatype */
1329- OBJ_RELEASE (datatype );
1329+ OMPI_DATATYPE_RELEASE (datatype );
13301330
13311331 return (OMPI_SUCCESS == ret ) ? (int ) cswap_header -> len : ret ;
13321332}
0 commit comments