Mojo function
is_p2p_enabled
is_p2p_enabled() -> Bool
Checks whether P2P access is available between GPUs.
This is a read-only status check. Callers must ensure enable_p2p()
has been called during initialization (e.g., during model setup or
via Signals.buffers()) before relying on this function.
Returns:
Bool: True if P2P access is available 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!