Mojo function
can_enable_p2p
can_enable_p2p(ctxs: List[DeviceContext]) -> Bool
If peer-to-peer access is supported, enables it between all GPU pairs.
Args:
- ctxs (
List[DeviceContext]
): List of device contexts representing different GPUs.
Returns:
True if P2P access is possible between all GPU pairs, False otherwise.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!