torch.cuda.can_device_access_peer torch.cuda.can_device_access_peer(device, peer_device) Check if peer access between two devices is possible. Return type: bool