warp.is_peer_access_supported#

warp.is_peer_access_supported(target_device, peer_device)[source]#

Check if peer_device can directly access the memory of target_device on this system.

This applies to memory allocated using default CUDA allocators. For memory allocated using CUDA pooled allocators, use is_mempool_access_supported().

Returns:

A Boolean value indicating if this peer access is supported by the system.

Parameters:
Return type:

bool