pytorch/torch/csrc/xpu
Yu, Guangye 0819de412d Add a new API torch.xpu.can_device_access_peer for Intel GPU (#162705)
# Motivation
Aligned with other backends, this PR introduces an new API `torch.xpu.can_device_access_peer`, which is used in vllm distributed [scenarios](2048c4e379/vllm/distributed/device_communicators/custom_all_reduce.py (L37))

Pull Request resolved: https://github.com/pytorch/pytorch/pull/162705
Approved by: https://github.com/EikanWang, https://github.com/ezyang
2025-09-16 18:00:22 +00:00
..
Event.cpp [Easy] The event_id of torch.cuda.Event and torch.xpu.Event always is 0 (#151226) 2025-04-26 14:18:22 +00:00
Event.h
Module.cpp Add a new API torch.xpu.can_device_access_peer for Intel GPU (#162705) 2025-09-16 18:00:22 +00:00
Module.h
Stream.cpp
Stream.h