Mojo function
can_enable_p2p
can_enable_p2p(ctxs: List[DeviceContext]) -> Bool
Checks and enables peer-to-peer access between all GPU pairs.
Arguments: ctxs: List of device contexts representing different GPUs.
Enables peer access between all GPU pairs that support it.
Returns:
Bool indicating if P2P access is possible between all GPU pairs
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!