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