Skip to content

Commit 6aba544

Browse files
Sergey Oblomovawlauria
authored andcommitted
SPML/UCX: fixed build over older versions of UCX
- updated macro check to instantiate empty op_param_t object Signed-off-by: Sergey Oblomov <sergeyo@nvidia.com> (cherry picked from commit 89153ac)
1 parent 62f2e6f commit 6aba544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oshmem/mca/spml/ucx/spml_ucx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ mca_spml_ucx_ctx_t mca_spml_ucx_ctx_default = {
119119
.strong_sync = SPML_UCX_STRONG_ORDERING_NONE
120120
};
121121

122-
#if HAVE_DECL_UCP_ATOMIC_OP_NBX
122+
#ifdef HAVE_UCP_REQUEST_PARAM_T
123123
static ucp_request_param_t mca_spml_ucx_request_param = {0};
124124
static ucp_request_param_t mca_spml_ucx_request_param_b = {
125125
.op_attr_mask = UCP_OP_ATTR_FLAG_FAST_CMPL

0 commit comments

Comments
 (0)