Skip to content

Commit

Permalink
ch4/ofi: warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hzhou committed Nov 3, 2024
1 parent 2d28722 commit 1309602
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/mpid/ch4/netmod/ofi/ofi_recv.h
Original file line number Diff line number Diff line change
Expand Up @@ -275,12 +275,11 @@ MPL_STATIC_INLINE_PREFIX int MPIDI_OFI_do_irecv(void *buf,
chunk_req->event_id = MPIDI_OFI_EVENT_RECV_GPU_PIPELINE_INIT;
chunk_req->parent = rreq;
chunk_req->buf = host_buf;
int ret = 0;
ret = fi_trecv(MPIDI_OFI_global.ctx[ctx_idx].rx,
host_buf,
MPIR_CVAR_CH4_OFI_GPU_PIPELINE_BUFFER_SZ,
NULL, remote_addr, match_bits, mask_bits,
(void *) &chunk_req->context);
mpi_errno = fi_trecv(MPIDI_OFI_global.ctx[ctx_idx].rx,
host_buf,
MPIR_CVAR_CH4_OFI_GPU_PIPELINE_BUFFER_SZ,
NULL, remote_addr, match_bits, mask_bits,
(void *) &chunk_req->context);
goto fn_exit;
}

Expand Down

0 comments on commit 1309602

Please sign in to comment.