Skip to main content

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?