@@ -33,7 +33,7 @@ ucs_status_t opal_common_ucx_wait_request(ucs_status_ptr_t request, ucp_worker_h
33
33
{
34
34
ucs_status_t status ;
35
35
int i ;
36
- #ifndef HAVE_UCP_REQUEST_CHECK_STATUS
36
+ #if ! HAVE_DECL_UCP_REQUEST_CHECK_STATUS
37
37
ucp_tag_recv_info_t info ;
38
38
#endif
39
39
@@ -48,7 +48,7 @@ ucs_status_t opal_common_ucx_wait_request(ucs_status_ptr_t request, ucp_worker_h
48
48
/* call UCX progress */
49
49
for (i = 0 ; i < opal_common_ucx_progress_iterations ; i ++ ) {
50
50
if (UCS_INPROGRESS != (status =
51
- #if HAVE_UCP_REQUEST_CHECK_STATUS
51
+ #if HAVE_DECL_UCP_REQUEST_CHECK_STATUS
52
52
ucp_request_check_status (request )
53
53
#else
54
54
ucp_request_test (request , & info )
@@ -68,7 +68,7 @@ ucs_status_t opal_common_ucx_wait_request(ucs_status_ptr_t request, ucp_worker_h
68
68
static inline
69
69
ucs_status_t opal_common_ucx_ep_flush (ucp_ep_h ep , ucp_worker_h worker )
70
70
{
71
- #if HAVE_UCP_EP_FLUSH_NB
71
+ #if HAVE_DECL_UCP_EP_FLUSH_NB
72
72
ucs_status_ptr_t status ;
73
73
74
74
status = ucp_ep_flush_nb (ep , 0 , opal_common_ucx_empty_complete_cb );
@@ -81,7 +81,7 @@ ucs_status_t opal_common_ucx_ep_flush(ucp_ep_h ep, ucp_worker_h worker)
81
81
static inline
82
82
ucs_status_t opal_common_ucx_worker_flush (ucp_worker_h worker )
83
83
{
84
- #if HAVE_UCP_WORKER_FLUSH_NB
84
+ #if HAVE_DECL_UCP_WORKER_FLUSH_NB
85
85
ucs_status_ptr_t status ;
86
86
87
87
status = ucp_worker_flush_nb (worker , 0 , opal_common_ucx_empty_complete_cb );
0 commit comments