Shortcuts

torch.cuda.can_device_access_peer

torch.cuda.can_device_access_peer(device, peer_device)[源代码]

检查两个设备之间的对等访问是否可能。

Return type

bool