Skip to content

Commit

Permalink
Adding FI_RECV flag to ctx init caps
Browse files Browse the repository at this point in the history
  • Loading branch information
tmh97 authored and davidozog committed Apr 28, 2023
1 parent 29c20f3 commit dcfc36b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transport_ofi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1384,7 +1384,7 @@ static int shmem_transport_ofi_ctx_init(shmem_transport_ctx_t *ctx, int id)
struct fabric_info* info = &shmem_transport_ofi_info;

info->p_info->ep_attr->tx_ctx_cnt = shmem_transport_ofi_stx_max > 0 ? FI_SHARED_CONTEXT : 0;
info->p_info->caps = FI_RMA | FI_WRITE | FI_READ | FI_ATOMIC;
info->p_info->caps = FI_RMA | FI_WRITE | FI_READ | FI_ATOMIC | FI_RECV;
info->p_info->tx_attr->op_flags = FI_DELIVERY_COMPLETE;
info->p_info->mode = 0;
info->p_info->tx_attr->mode = 0;
Expand Down

0 comments on commit dcfc36b

Please sign in to comment.