@@ -90,6 +90,9 @@ mca_spml_ucx_ctx_t mca_spml_ucx_ctx_default = {
90
90
91
91
#ifdef HAVE_UCP_REQUEST_PARAM_T
92
92
static ucp_request_param_t mca_spml_ucx_request_param = {0 };
93
+ static ucp_request_param_t mca_spml_ucx_request_param_b = {
94
+ .op_attr_mask = UCP_OP_ATTR_FLAG_FAST_CMPL
95
+ };
93
96
#endif
94
97
95
98
int mca_spml_ucx_enable (bool enable )
@@ -971,7 +974,7 @@ int mca_spml_ucx_get(shmem_ctx_t ctx, void *src_addr, size_t size, void *dst_add
971
974
972
975
#if HAVE_DECL_UCP_GET_NBX
973
976
request = ucp_get_nbx (ucx_ctx -> ucp_peers [src ].ucp_conn , dst_addr , size ,
974
- (uint64_t )rva , ucx_mkey -> rkey , & mca_spml_ucx_request_param );
977
+ (uint64_t )rva , ucx_mkey -> rkey , & mca_spml_ucx_request_param_b );
975
978
return opal_common_ucx_wait_request (request , ucx_ctx -> ucp_worker [0 ], "ucp_get_nbx" );
976
979
#elif HAVE_DECL_UCP_GET_NB
977
980
request = ucp_get_nb (ucx_ctx -> ucp_peers [src ].ucp_conn , dst_addr , size ,
@@ -1065,7 +1068,7 @@ int mca_spml_ucx_put(shmem_ctx_t ctx, void* dst_addr, size_t size, void* src_add
1065
1068
1066
1069
#if HAVE_DECL_UCP_PUT_NBX
1067
1070
request = ucp_put_nbx (ucx_ctx -> ucp_peers [dst ].ucp_conn , src_addr , size ,
1068
- (uint64_t )rva , ucx_mkey -> rkey , & mca_spml_ucx_request_param );
1071
+ (uint64_t )rva , ucx_mkey -> rkey , & mca_spml_ucx_request_param_b );
1069
1072
res = opal_common_ucx_wait_request (request , ucx_ctx -> ucp_worker [0 ], "ucp_put_nbx" );
1070
1073
#elif HAVE_DECL_UCP_PUT_NB
1071
1074
request = ucp_put_nb (ucx_ctx -> ucp_peers [dst ].ucp_conn , src_addr , size ,
0 commit comments