Skip to content

Commit d57ea73

Browse files
committed
UCT/CUDA_IPC: removed self check in reachability
1 parent 1abd735 commit d57ea73

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/uct/cuda/cuda_ipc/cuda_ipc_iface.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,6 @@ uct_cuda_ipc_iface_is_reachable_v2(const uct_iface_h tl_iface,
142142
dev_addr = (const uct_cuda_ipc_device_addr_t *)params->device_addr;
143143
same_uuid = (ucs_get_system_id() == dev_addr->system_uuid);
144144

145-
if ((getpid() == *(pid_t*)params->iface_addr) && same_uuid) {
146-
uct_iface_fill_info_str_buf(params, "same process");
147-
return 0;
148-
}
149-
150145
if (same_uuid ||
151146
uct_cuda_ipc_iface_mnnvl_supported(md, dev_addr, dev_addr_len)) {
152147
return uct_iface_scope_is_reachable(tl_iface, params);

0 commit comments

Comments
 (0)