Skip to content

Commit bbcc1d8

Browse files
committed
UCT/CUDA: minor fix
1 parent 0467037 commit bbcc1d8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/uct/cuda/base/cuda_iface.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,9 @@ static void uct_cuda_base_stream_flushed_cb(uct_completion_t *self)
190190
ucs_status_t
191191
uct_cuda_base_ep_flush(uct_ep_h tl_ep, unsigned flags, uct_completion_t *comp)
192192
{
193-
uct_base_ep_t *ep = ucs_derived_of(tl_ep, uct_base_ep_t);
194-
uct_cuda_iface_t *iface = ucs_derived_of(tl_ep->iface, uct_cuda_iface_t);
193+
uct_base_ep_t UCS_V_UNUSED *ep = ucs_derived_of(tl_ep, uct_base_ep_t);
194+
uct_cuda_iface_t *iface = ucs_derived_of(tl_ep->iface,
195+
uct_cuda_iface_t);
195196
uct_cuda_flush_desc_t *flush_desc;
196197
uct_cuda_flush_stream_desc_t *flush_stream_desc;
197198
uct_cuda_queue_desc_t *q_desc;

0 commit comments

Comments
 (0)