Skip to content

Commit 8caa8b4

Browse files
committed
UCP/DEVICE: Select lane.
1 parent 3b2a3c2 commit 8caa8b4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ucp/core/ucp_device.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,7 @@ static void ucp_device_mem_list_lane_lookup(
358358
bandwidth = ucp_worker_iface_bandwidth(ep->worker,
359359
ucp_ep_get_rsc_index(ep, lane));
360360

361-
is_non_rma = (ucp_ep_md_attr(ep, lane)->flags &
362-
UCT_MD_FLAG_INVALIDATE_RMA);
361+
is_non_rma = !(ucp_ep_md_attr(ep, lane)->flags & UCT_MD_FLAG_NEED_MEMH);
363362
ucs_trace("checking lane[%u] src_md_index=%u dst_md_index=%u "
364363
"src_sys_dev=%u dst_sys_dev=%u bandwidth=%lfMB/s non_rma=%d",
365364
lane, src_md_index, lane_key->dst_md_index, src_sys_dev,

0 commit comments

Comments
 (0)