@@ -116,7 +116,7 @@ static inline int ompi_osc_pt2pt_put_self (ompi_osc_pt2pt_sync_t *pt2pt_sync, co
116
116
int ret ;
117
117
118
118
/* if we are in active target mode wait until all post messages arrive */
119
- ompi_osc_pt2pt_sync_wait (pt2pt_sync );
119
+ ompi_osc_pt2pt_sync_wait_expected (pt2pt_sync );
120
120
121
121
ret = ompi_datatype_sndrcv ((void * )source , source_count , source_datatype ,
122
122
target , target_count , target_datatype );
@@ -140,7 +140,7 @@ static inline int ompi_osc_pt2pt_get_self (ompi_osc_pt2pt_sync_t *pt2pt_sync, vo
140
140
int ret ;
141
141
142
142
/* if we are in active target mode wait until all post messages arrive */
143
- ompi_osc_pt2pt_sync_wait (pt2pt_sync );
143
+ ompi_osc_pt2pt_sync_wait_expected (pt2pt_sync );
144
144
145
145
ret = ompi_datatype_sndrcv (source , source_count , source_datatype ,
146
146
target , target_count , target_datatype );
@@ -162,7 +162,7 @@ static inline int ompi_osc_pt2pt_cas_self (ompi_osc_pt2pt_sync_t *pt2pt_sync, co
162
162
((unsigned long ) target_disp * module -> disp_unit );
163
163
164
164
/* if we are in active target mode wait until all post messages arrive */
165
- ompi_osc_pt2pt_sync_wait (pt2pt_sync );
165
+ ompi_osc_pt2pt_sync_wait_expected (pt2pt_sync );
166
166
167
167
ompi_osc_pt2pt_accumulate_lock (module );
168
168
@@ -186,7 +186,7 @@ static inline int ompi_osc_pt2pt_acc_self (ompi_osc_pt2pt_sync_t *pt2pt_sync, co
186
186
int ret ;
187
187
188
188
/* if we are in active target mode wait until all post messages arrive */
189
- ompi_osc_pt2pt_sync_wait (pt2pt_sync );
189
+ ompi_osc_pt2pt_sync_wait_expected (pt2pt_sync );
190
190
191
191
ompi_osc_pt2pt_accumulate_lock (module );
192
192
@@ -336,7 +336,7 @@ static inline int ompi_osc_pt2pt_put_w_req (const void *origin_addr, int origin_
336
336
337
337
if (is_long_msg ) {
338
338
/* wait for eager sends to be active before starting a long put */
339
- ompi_osc_pt2pt_sync_wait (pt2pt_sync );
339
+ ompi_osc_pt2pt_sync_wait_expected (pt2pt_sync );
340
340
}
341
341
342
342
OPAL_OUTPUT_VERBOSE ((50 , ompi_osc_base_framework .framework_output ,
@@ -495,7 +495,7 @@ ompi_osc_pt2pt_accumulate_w_req (const void *origin_addr, int origin_count,
495
495
496
496
if (is_long_msg ) {
497
497
/* wait for synchronization before posting a long message */
498
- ompi_osc_pt2pt_sync_wait (pt2pt_sync );
498
+ ompi_osc_pt2pt_sync_wait_expected (pt2pt_sync );
499
499
}
500
500
501
501
header = (ompi_osc_pt2pt_header_acc_t * ) ptr ;
@@ -802,7 +802,7 @@ static inline int ompi_osc_pt2pt_rget_internal (void *origin_addr, int origin_co
802
802
803
803
if (!release_req ) {
804
804
/* wait for epoch to begin before starting rget operation */
805
- ompi_osc_pt2pt_sync_wait (pt2pt_sync );
805
+ ompi_osc_pt2pt_sync_wait_expected (pt2pt_sync );
806
806
}
807
807
808
808
header = (ompi_osc_pt2pt_header_get_t * ) ptr ;
@@ -968,7 +968,7 @@ int ompi_osc_pt2pt_rget_accumulate_internal (const void *origin_addr, int origin
968
968
969
969
if (!release_req ) {
970
970
/* wait for epoch to begin before starting operation */
971
- ompi_osc_pt2pt_sync_wait (pt2pt_sync );
971
+ ompi_osc_pt2pt_sync_wait_expected (pt2pt_sync );
972
972
}
973
973
974
974
/* optimize the self case. TODO: optimize the local case */
0 commit comments